Re: [PHP-DB] moved code to a new server
Forwarded to General, since this doesn't belong on DB. On Fri, Oct 24, 2008 at 6:18 PM, Marc Fromm <[EMAIL PROTECTED]> wrote: > We moved our website to a new linux server. The code was running on a > different linux server. Thus the OS environment is the same. > We are receiving this error: > [Fri Oct 24 14:53:37 2008] PHP Fatal error: require() [ href='function.require'>function.require]: Failed opening required 'this > was a url to a .js file' (include_path='.:/usr/share/pear:/usr/share/php') in > /var/www/html/path to .php file on line 4 > > I'm not a php programmer thus I am in the dark. You don't have to be, you just have to read the error message. If you copied that verbatim, then 'this was a url to a .js file' exists on line 4 of .php in /var/www/html/path, and PHP failed to open it. Make sure the file exists exactly where PHP is looking for it, and that it's accessible and readable to and by the user as which the server is running when executing `.php` in /var/www/html/path, and that the target file can be found from that directory. -- http://www.parasane.net/ [New Look] [EMAIL PROTECTED] || [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] moved code to a new server
We moved our website to a new linux server. The code was running on a different linux server. Thus the OS environment is the same. We are receiving this error: [Fri Oct 24 14:53:37 2008] PHP Fatal error: require() [function.require]: Failed opening required 'this was a url to a .js file' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/path to .php file on line 4 I'm not a php programmer thus I am in the dark. Marc
RE: [PHP-DB] using database without mysql installed
yes it is possible, but you need to edit php.ini manually in order to enable mysql so that php can talk to mysql database. --- http://ainab.com http://somaliyrics.net Original Message Subject: [PHP-DB] using database without mysql installed From: "Patrick Price" <[EMAIL PROTECTED]> Date: Fri, October 24, 2008 1:36 pm To: I am trying to access a mysql database server from a php 5.2 server that doesn't have mysql installed on it. I don't have access or the ability to reinstall php on this server. Is it possible to install mysql after php is installed and up and running? If it is not possible, what would be the best solution to accessing the database? The best solution I could think of would be to require a php file that is running on a server that I have control of and that has mysql installed and using that file to call the database to get the information I need. Thanks for any help. Patrick -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] using database without mysql installed
I am trying to access a mysql database server from a php 5.2 server that doesn't have mysql installed on it. I don't have access or the ability to reinstall php on this server. Is it possible to install mysql after php is installed and up and running? If it is not possible, what would be the best solution to accessing the database? The best solution I could think of would be to require a php file that is running on a server that I have control of and that has mysql installed and using that file to call the database to get the information I need. Thanks for any help. Patrick
[PHP-DB] Politics
graduates ftping eightycolumn targeting emphasized fundamentalist numbering revisions acronymic -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php