changed over to linux,apache,mysql but php.ini file......
Moderator: General Moderators
changed over to linux,apache,mysql but php.ini file......
Hi
I was using MS SQl Server and runnin it all on windows but my company has decided to change over to linux as it is cheaper, so i had to change all my code and bring it over to the newly installed linux.
The problem is i can i access the php.ini file in a shell prompt i can edit it and it looks like im saving the changes , but whe in run php_info()
My changes dont take affect!!
Any ideas would be very helpful and much appreciated!
I was using MS SQl Server and runnin it all on windows but my company has decided to change over to linux as it is cheaper, so i had to change all my code and bring it over to the newly installed linux.
The problem is i can i access the php.ini file in a shell prompt i can edit it and it looks like im saving the changes , but whe in run php_info()
My changes dont take affect!!
Any ideas would be very helpful and much appreciated!
Code: Select all
apachectl stop
apachectl startCode: Select all
apachectl restart[INTERESTED]
Just what i don't understand is.. what i'm reading here is that you admin the server, you company has gone over to linux, but linux is a bit harder to understand and config, it takes time and preferrably an experienced linux user.
Are you the man, who's assigned to learn linux, is there another person in the company with linux experience, or did the company really just decided to use linux, without any experience?
[/INTERESTED]
They just decided to changeover because it was cheaper, my boss has a bit of linux experience the only problem is he is never around to give me help.
Thank for your help by the way it worked for me!!!
I have one more problem if u wouldnt mind ,
im am getting a cannot redclare function says it was previously declared in functions.php, this is the file that i include on top of each page . The function is no where else.
I never got this error befor eon my other system,could it be to do with the new system??
Thank for your help by the way it worked for me!!!
I have one more problem if u wouldnt mind ,
im am getting a cannot redclare function says it was previously declared in functions.php, this is the file that i include on top of each page . The function is no where else.
I never got this error befor eon my other system,could it be to do with the new system??
yeah sure !!!
Thats all in the functions.php file
then for example on the top of login.php its like this:
The error im getting is:
Fatal error: Cannot redeclare makerandompassword() (previously declared in /www/support/public_html/html/functions.php:30) in /www/support/public_html/html/functions.php on line 28
Code: Select all
<?php
function makeRandomPassword()
{
code
}
function ViewHeader($SmartID)
{
code
}
function ViewFooter()
{
code
}
?>then for example on the top of login.php its like this:
Code: Select all
<?php
include("functions.php");
code
?>Fatal error: Cannot redeclare makerandompassword() (previously declared in /www/support/public_html/html/functions.php:30) in /www/support/public_html/html/functions.php on line 28
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK