Hello all.

I got a new PC with Vista on it, so the usual, all the apache, php, mysql, etc. installations have to be done.

I installed Apache using the msi installer. It works! ;D

And I have tried several times to install PHP5 using also the msi.

The first times when trying to test the installation when loading the index.php page on the browser it printed <?php phpinfo(); ?>.

I double checked the php.ini and the httpd.conf and everything was fine, so I unistalled it and installed it again.

Now, index.php is showing a blank page.

I wanted to check what could be wrong so executed the php.exe file and I got several errors, that it couldn't find php_mbstring.dll, OCI.dll, sqlite.dll amd several other dlls in the directory C:\PHP5\ext, but those files do exist!

It's the first time I try to install PHP5, so I don't know if I'm doing something wrong or if I'm missing something.

PLEASE HEEEEELPPP!!!!

Thanks!

    And I have tried several times to install PHP5 using also the msi.

    Use the zip archive instead, following the PHP manual instructions carefully. We also have the instructions here in this forum.

      a month later

      Sounds like you need to add the path to your PHP install to your Vista Environment PATH variable. You can find those steps (and how to properly set up php5 under Vista) in the sticked thread "PHP 5 Under Windows" in this forum.

      As for using WAMP.... I used to use it; however, I personally like to have a custom setup that way I'm not relying upon someone else to update the stuff, I can have custom modules on or off, and if something needs to be tweaked, I tend to know better what I'm doing. Having an executable isn't always the best thing in the world. Just because it's easy doesn't make it right.

        have you seen the latest version of wamp? its always up to date and configuration is a snap, easily dis/enable modules and extensions and adding them to the menu is easy as well. and its not like you cant update the version of apache/php/mysql/sqlite rather easily provided you know what youre doing. and if you dont know what youre doing, then it makes your life easier so you can move on and learn more.

          and its not like you cant update the version of apache/php/mysql/sqlite rather easily provided you know what youre doing. and if you dont know what youre doing, then it makes your life easier so you can move on and learn more.

          I agree, if one's aim is purely to learn something about PHP as a programming language and be done with it. In reality, manual installation forces one to understand the backend of PHP a little better, and this skill set is portable to actual server administration.

            thanks 🙂

            and not to sound like a smart @$$, but if you do want to do it manually, then i believe the problem resides in the php isapi module, i think there is a bug with the loader and you have to use an older version of the file to get it to load properly. check google and change the path if need be in your httpd config file. if it was loading you would see message boxes from windows displayed showing you the same errors youre seeing when you run php from a terminal. at least that has been one of my many experiences in the past when trying to load invalid extensions and the like. and one more thing, if your using <? instead of <?php, make sure you have short_tags enabled in php.ini 🙂

            regards,
            brad

              Write a Reply...