here is the crap:
changes I make the php.ini file are not reflected on the phpinfo() display.
php does not recognize mysql function calls
here is my configurations:
So I downloaded php 5.2.6, apache 2.2.9 and mysql 5.0.67. I just reformatted my computer today and I'm on a Window XP service pack 3.
I downloaded all of these individually and attempted to install PHP manually.
Apache is in C:\WAMP\Apache
PHP is in C:\WAMP\PHP
MySQL is in C:\WAMP\MySQL
I'm trying to install all these components as I've done 2/3 times before with previous versions and I've spent about 6 hours scowering the internet trying to figure out what I'm doing wrong.
I've done these changes to php.ini (the recommended version)
-re-named the php.ini-recommended to php.ini
-changed the extension_dir to C:\WAMP\PHP\ext
-uncommented the extension = php_mysql.dll
-changed error_reporting to E_ALL & ~E_NOTICE
-changed display_errors to On
I've added these lines to httpd.conf
LoadModule php5_module "C:/WAMP/PHP/php5apache2_2.dll"
PHPIniDir "C:/PHP"
<IfModule dir_module>
DirectoryIndex index.php index.html
</IfModule>
<IfModule mime_module>:
AddType application/x-httpd-php .php
</IfModule>
MySQL is running as a service, Apache is running as a service
PHP appears to work...
mysqllib.dll is in the C:\WAMP\PHP folder
php.ini is in the C:\WAMP\PHP folder
php_mysql.dll is in the C:\WAMP\PHP\ext folder
I have an environment variable PHPRC set to C:\WAMP\PHP
I have an envrionment variable PATH set to C:\WAMP\PHP
I've tried putting all the dlls and ini files in the windows and system32 folders but it doesn't appear to work
I've always restarted apache after making changes.
Sorry for the huge post, I just hope that's enough info to help me out, I'm totally stumped at this point...
Thanks you awesome dude that responds to me !