There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus bios bsod computer crash driver drivers error ethernet excel freeze gaming graphics hard drive hardware hdmi internet laptop malware memory modem monitor motherboard network obp operating system printer problem ram registry repair router security slow software sound trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
php.ini - not found

Reply  
Thread Tools
Akito's Avatar
Senior Member with 933 posts.
 
Join Date: May 2003
24-Oct-2003, 08:18 PM #1
php.ini - not found
I did a default install of PHP in linux mandrake. When I copy the php.ini-dist to the /etc directory MySQL stops working. However, I need to turn off PHP safe mode as it's causing me not to be able to run some software..
deuce868's Avatar
Senior Member with 638 posts.
 
Join Date: Nov 2000
Location: MI
27-Oct-2003, 01:52 PM #2
I don't follow how you need to turn off php safe mode. PHP does not actuall run. It kinda of combines with apache. MySQL is probably bombing if it is looking for the php installation.

What software is giving you the problem? The best thing to do is to just shut down the MySQL and Apache daemons and see if your software works then.
__________________
www.ricksweb.info
www.2webheads.com
Quote:
Techies just think a little differently...at least that's what they keep telling me.
brendandonhu's Avatar
Distinguished Member with 15,988 posts.
 
Join Date: Jul 2002
Location: Ann Arbor, MI
Experience: Advanced
27-Oct-2003, 04:38 PM #3
Safe Mode is off by default, unless you changed the directive, it won't be causing you problems.
Akito's Avatar
Senior Member with 933 posts.
 
Join Date: May 2003
28-Oct-2003, 05:59 PM #4
Actually, safe mode is on...

Warning: file_exists() [function.file-exists]: SAFE MODE Restriction in effect. The script whose uid is 500 is not allowed to access /var/www/html/shop owned by uid 0 in /var/www/html/shop/includes/header.php on line 15

I didn't change the configuration setting. In order to turn safe mode off, I believe in need to edit the php.ini file. However, their is no php.ini files (there is one, php.ini-dist, but when I use it MySQL stops working).
Gizzmo's Avatar
Junior Member with 4 posts.
 
Join Date: Oct 2003
30-Oct-2003, 02:27 PM #5
Open up the "Install Software" program and type in "php-ini". This should come up with "php-ini-4.3.0-1mdk". Check this file to install it. Once loaded you will have the "php.ini" file under /etc.
Akito's Avatar
Senior Member with 933 posts.
 
Join Date: May 2003
30-Oct-2003, 02:45 PM #6
Yeah, that worked, you're awesome..
Gizzmo's Avatar
Junior Member with 4 posts.
 
Join Date: Oct 2003
31-Oct-2003, 12:09 PM #7
Glad to help
Akito's Avatar
Senior Member with 933 posts.
 
Join Date: May 2003
01-Nov-2003, 12:01 PM #8
Now I need help getting a girlfriend, any packages that help with that?
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 03:56 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.