Board index   FAQ   Search  
Register  Login
Board index PHP PHP Installation

Can't find php.ini - windows 7 ultimate

Forum for you who has PHP installation issues

Moderators: macek, egami, gesf

Can't find php.ini - windows 7 ultimate

Postby Spade42 » Sun Feb 05, 2012 2:31 pm

I've recently decided to start tinkering with PHP and MySQL but I ran into some issues getting MySQL to work. I followed all the instructions as far as modifying my php.ini file goes, but realized my changes weren't taking effect.

I've googled the problem, and it seems super common but none of the posted answers are helping me.

My httpd.conf is configured correctly, the PHPRC environment variable is set right. Extensions are visible on my system, so I don't have a php.ini.txt file.

In fact, for kicks I deleted my php.ini file and php/apache still worked. I did a system wide search for php.ini but there were NO results. Of course I restarted apache after each potential fix. Despite the file not existing, phpinfo() still says its loading C:/PHP/php.ini .. But that file doesn't exist o_O

After restarting my computer the "call to undefined function mysql_connect" error shows up in the apache error log instead of in the browser, instead, the browser gets a "server error - http error 500 (Internal Server Error)

I've been pulling my hair out for the last 6 hours, plz help? :3

Thanks in advance!
Spade42
New php-forum User
New php-forum User
 
Posts: 2
Joined: Sun Aug 22, 2010 3:41 pm

Re: Can't find php.ini - windows 7 ultimate

Postby Spade42 » Mon Feb 13, 2012 2:24 pm

I'm still completely baffled as to what the problem was. It appears to have magically fixed itself :?

Cheers.
Spade42
New php-forum User
New php-forum User
 
Posts: 2
Joined: Sun Aug 22, 2010 3:41 pm


Return to PHP Installation

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron