Used Apache Update/some PHP Scripts No Longer Working
Having some issues here, I used Apache Update to install WHMCS as I didn't have Curl installed. Well had some issues using the username and password as it couldn't connect to the database, my modernbill and phpnuke scripts still work but some other scripts like joomla, some shopping cart software, and other MYSQL scripts are not working.
I've run test scripts to see if I can connect to the database, got the following error with the PHP test script
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'data_invoice'@'localhost' (using password: YES) in /home/data/public_html/test2.php on line 4
I cannot connect to the database because:Access denied for user 'data_invoice'@'localhost' (using password: YES)
Also attempted it in SSH and getting a similar error that access is denied. Username and password are correct. I believe I upgraded PHP which my guess is what caused this. I've searched the forum for a few solutions and I had the problem in the past which I fixed it, but it's been a while.
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Apache 2.2 / Php 5 Update: Calling Files Behind Root
With my old Apache 1 and PHP4 I was able to pull files from behind the public_html using a php file without any problems. Is there a reason why this does not work with Apache 2.2 and PHP5? the piece of coding below is what grabs the image. Right now i'm just seeing a red X for each image. PHP Code: if ($private == 1) { header("Content-type: image/jpeg"); $im = imagecreatefromjpeg('/home/site1/private/' . $type . '/' . $mid . '-' . $iid . '.jpg'); imagecolorallocate($im, 255, 255, 255); imagejpeg($im); imagedestroy($im); }
View Replies!
View Related
Update Php And Website Showing Php Code
I have update php successfully 5.2.6 to 5.2.9. -bash-3.2# php -v PHP 5.2.9 (cli) (built: Apr 10 2009 00:53:01) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies i already restart the httpd but everytime I go to my website, php page is now showing my php page as php code. :/
View Replies!
View Related
Php Not Updating After Php Update On Centos
im trying to update my php version to 5.2+ so i can run phpmyadmin on my server. Ive tried two different methods both produced same results. First method was to download libxml2-2.7.3 and then do ./configure, make,etc then i download php, ./configure, make install, etc. At first i had to yum install make, then a c complier cause make and ./configure didnt work before that. After everything seemed to work fine until the end when it said you may have found a bug on php would you like to submit it? So obviously the php version didnt update at all. Next i tried adding a repo that already contained php-5.2.5 and then yum install php since centos only seems to support regular yum install up to php version 5.1.6. i did rpm and installed php and thought sweet ive updated php. Ran php -v and i am still running php version 5.1.6.
View Replies!
View Related
Apache Do Not Update
i enable Mbstrings and Soap in easyapache in Cpanel. after 24 hours i restart my server and some things get eror. tmp folder become read only. easy apache give below eror : Code: Died at /var/cpanel/perl/easy/Cpanel/Easy/Utils/BackGround.pm line 40. and all site have eror for tmp and mysql. i change tmp folder but some eror don't solved. Code: Can't create/write to file '/tmp/#sql_1f42_0.MYI' (Errcode: 30) SQL=SELECT m.*, sum(case when p.published=1 then 1 else 0 end) as cnt FROM jos_menu AS m LEFT JOIN jos_menu AS p ON p.parent = m.id WHERE m.menutype='mainmenu' AND m.published='1' AND m.access <= '0' GROUP BY m.id ORDER BY m.parent, m.ordering Warning: Invalid argument supplied for foreach() in /home/music/public_html/modules/mod_tpmenu/tpmenu/dropdown/menu.php on line 127 Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/music/public_html/modules/mod_tpmenu/tpmenu/dropdown/menu.php on line 150 this is mount command : Code: /dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw,usrquota) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/sda1 on /boot type ext3 (rw) tmpfs on /dev/shm type tmpfs (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) /usr/tmpDSK on /tmp type ext3 (rw,noexec,nosuid,loop=/dev/loop0) and this is fstabs : Code: /dev/VolGroup00/LogVol00 / ext3 defaults,usrquota 1 1 LABEL=/boot /boot ext3 defaults 1 2 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 /dev/VolGroup00/LogVol01 swap swap defaults 0 0 /usr/tmpDSK /tmp ext3 defaults,noauto 0 0
View Replies!
View Related
PHP 5.2.8 Update
Did anyone have this problem when upgrade to PHP 5.2.8? This is the error that i got when i upgrade from PHP 5.2.6 to 5.2.8. "Failed loading C:PHP5ioncubeioncube_loader_win_5.2.dll PHP Warning: PHP Startup: Unable to load dynamic library './ext/php_mssql.dll' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library './ext/php_msql.dll' - The specified module could not be found. in Unknown on line 0 " I don't have Ioncube install and when i upgrade from PHP 5.2.5 to 5.2.6. I didn't have the above problem. Is Ioncube a included .dll in for the Windows package? How do i fix the above error? Is there any problem with PHP 5.2.8? Is it stable? My server is Win2003 Standard/IIS6.
View Replies!
View Related
Update Php To Lastest
I tried to run yum update php and it say there are no new packages available. This is on centos 5.2 with lxadmin installed so how can i update it? it has php 5.2.1 and the latest is 5.2.8.
View Replies!
View Related
Php 4.4.7 Update Error
/configure php? i got this error: Quote: checking for IMAP support... yes, shared checking for IMAP Kerberos support... yes checking for IMAP SSL support... yes checking for utf8_mime2text signature... new checking for U8T_CANONICAL... no configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.
View Replies!
View Related
Apache Update Problems (yum)
Just started running a new VPS and have tried to update apache through WHM and I get this error : Checking Update System........Your operating system's rpm update method (yum) was not able to locate the glibc package. This is an indication of an improper setup. You must correct this error before you can proceed. Someone told me to check out yum so I ran a command that he told me too and got this output : Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? yummain.main(sys.argv[1:]) File "/usr/share/yum-cli/yummain.py", line 94, in main result, resultmsgs = base.doCommands() File "/usr/share/yum-cli/cli.py", line 381, in doCommands return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds) File "/usr/share/yum-cli/yumcommands.py", line 150, in doCommand return base.updatePkgs(extcmds) File "/usr/share/yum-cli/cli.py", line 672, in updatePkgs self.doRepoSetup() File "/usr/share/yum-cli/cli.py", line 109, in doRepoSetup self.doSackSetup(thisrepo=thisrepo) File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 338, in doSackSetup self.repos.populateSack(which=repos) File "/usr/lib/python2.4/site-packages/yum/repos.py", line 200, in populateSack sack.populate(repo, with, callback, cacheonly) File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 91, in populate dobj = repo.cacheHandler.getPrimary(xml, csum) File "/usr/lib/python2.4/site-packages/yum/sqlitecache.py", line 100, in getPrimary return self._getbase(location, checksum, 'primary') File "/usr/lib/python2.4/site-packages/yum/sqlitecache.py", line 93, in _getbase self.updateSqliteCache(db, parser, checksum, metadatatype) File "/usr/lib/python2.4/site-packages/yum/sqlitecache.py", line 382, in updateSqliteCache cur.execute("DELETE FROM "+table+ " where pkgKey in %s" % delpkgs) File "/usr/lib/python2.4/site-packages/sqlite/main.py", line 244, in execute self.rs = self.con.db.execute(SQL) _sqlite.DatabaseError: unable to open database file Its the database error that worries me, can anyone help me out with how to fix this? Running WHM 11.2.0 cPanel 11.11.0-S16999 CENTOS Enterprise 5 i686 - WHM X v3.1.0
View Replies!
View Related
Error When Trying To Run Apache Update (cPanel)
I got a new server online today with a fresh installation of centos and cPanel: WHM 11.15.0 cPanel 11.18.1-R20683 CENTOS Enterprise 5 i686 on standard - WHM X v3.1.0 I have done the initial setup (ip's nameservers etc..) but when I try and run apache update I get the following: Premature end of script headers: /usr/local/cpanel/whostmgr/docroot/cgi/easyapache.pl: Please check /usr/local/cpanel/logs/error_log for the exact error. I look in the log file but it just repeatse the above error and doesnt supply any additional info.
View Replies!
View Related
POP Server Error After Apache Update
I run a dedicated server with WHM/cPanel (10.8.0). I was recently supposed to update the Apache installation to add a module, but instead of clicking "load previous config" I clicked on "start build" by mistake. This brought the installation back to default. I waited till the build was finished and then added all the modules I could remember having installed earlier. This made Apache not wanting to start. I went back to the default and then recompiled apache over and over again, adding 1 o 2 modules every time. Apache booted up fine, but for some reason my mail is suddenly acting up. I keep getting the following error on one of my domain in my client: Code: Unable to connect to POP server mail.example.com. Error sending password: -ERR Maildir invalid (no 'cur' directory) When I click OK, I get: Code: Unable to connect to POP server mail.example.com. Error sending password: Operation now in progress I have a couple of other accounts in the mail client. None of them are receiving mails, even though I can see that there are new mails present in the mailbox via webmail. My exim is configured to use mbox as far as I know. So I don't understand why I'm getting an invalid maildir message.
View Replies!
View Related
Server Update, Too Many Apache Processes But Low Load
I have 2 almost similar webservers: debian 3.2, P4 3GHZ, 1 Gb ram, kernel 2.6, apache2, php4 Initial apache2.conf: Code: Timeout 4 KeepAlive Off KeepAliveTimeout 2 ServerLimit 1500 <IfModule prefork.c> StartServers 10 MinSpareServers 10 MaxSpareServers 15 MaxClients 1500 MaxRequestsPerChild 3000 </IfModule> I update the sources.list on server 1 to mirrors of the new debian 4 etc . I run apt-get update and apt-get dist-upgrade . A whole bunch of things get updated (it was long time ago that I did this anyway). After some troubles with /boot/grub/menu.lst the server boots ok, and everything is well. This server used to have loads of 15-25 at peak times, but after the update its running very smooth with loads of 2-3 at the same peak times. I dont know why exactly, as I noticed updates in OS , kernel version (from 2.6.8x to 2.6.18) , apache2 , php (4.4.4-8+etch1) , and I also needed to update eaccelerator from 0.94 to 0.95 . A few days later I update server 2. Everything seems to go the same, although the kernel version stays at 2.6.8-3-686. I dont think kernel version at start was exactly same at server 1. But the new php version is the same as server 1, and everything else looks the same too. But when peak times are coming up, this server starts to have troubles. It is quickly rising to total of 200-300 processes , while server 1 always stays stable at 60-70. Server 2 also reacts slow if I click somewhere on the site. It takes 5-10 seconds to show a new page. However the load stays pretty low at 1-2 . I see no big cpu usage and also no big memory usage. I have the impression that this server 2 is somehow wasting a lot of apache processes and is making things hard for itself without a real reason. When I check the seperate mysql database server, I also notice a lot of processes. Around 200-250 whereas it used to be 40-60. Sometimes this adds up so hard, that all webservers are blocked because mysql has too much processes. When I check the mysql connections, I see a few dozen things like 'unauthen ip:port Connect login' just hanging. All of them have the ip of webserver 2. Those extra apache processes are somehow hanging on to the mysql server without really doing something. I dont know what is happening, but this server is underperforming very badly now. I managed to limit the problem by drastically lowering ServerLimit and MaxClients on webserver 2 , but this is no real solution. The server is still slow, at least now its not bringing down the others. My question : what should I check for now ? I noticed a different structure in the conf files in debian etch, maybe something new has a bad influence on my old conf files? Is there something wrong with the combination of kernel+php version? I have no idea, please point me in the right direction so I can learn from this.
View Replies!
View Related
Mysql Insert/Update Makes Apache Go Crazy
I run a wordpress blog with apache2+mysql5+php5 in a Debian vps with 1024mb ram (plus swap). When you read the website everything works quick and smooth, but when you have to add data to the database (edit posts, write posts, write comments) something weird happens. monitoring the system with the top and I see that, for example, as soon as an article has been posted (already got the "article posted" message in the page) the free ram goes suddenly down (some seconds) from 800mb to 0. Swapping starts and the website stops responding. in the meanwhile cpu "wa" goes high (90%++). Typing ps aux I can see that is not mysql process's fault, actually it seems more that it's apache to cause this ram hogging, in fact an apache restart brings back tons of free ram. this is my current my.cnf: Code: client] port= 3306 socket= /var/run/mysqld/mysqld.sock # Here is entries for some specific programs # The following values assume you have at least 32M ram # This was formally known as [safe_mysqld]. Both versions are currently parsed. [mysqld_safe] socket= /var/run/mysqld/mysqld.sock nice= 0 [mysqld] # # * Basic Settings # user= mysql pid-file= /var/run/mysqld/mysqld.pid socket= /var/run/mysqld/mysqld.sock port= 3306 basedir= /usr datadir= /var/lib/mysql tmpdir= /tmp language= /usr/share/mysql/english skip-external-locking # # Instead of skip-networking the default is now to listen only on # localhost which is more compatible and is not less secure. bind-address= 127.0.0.1 # # * Fine Tuning # myisam_sort_buffer_size=64M max_connect_errors=20 connect_timeout=15 interactive_timeout=100 join_buffer_size=1M sort_buffer_size=1M read_buffer_size=1M bulk_insert_buffer_size=16M key_buffer= 64M max_allowed_packet= 16M thread_stack= 128K thread_cache_size= 8 max_connections = 600 table_cache = 256 #thread_concurrency = 10 # # * Query Cache Configuration # query_cache_limit = 1M query_cache_size = 16M # # * Logging and Replication # # Both location gets rotated by the cronjob. # Be aware that this log type is a performance killer. #log= /var/log/mysql/mysql.log # # Error logging goes to syslog. This is a Debian improvement :) # # Here you can see queries with especially long duration #log_slow_queries= /var/log/mysql/mysql-slow.log #long_query_time = 2 #log-queries-not-using-indexes # # The following can be used as easy to replay backup logs or for replication. #server-id= 1 #log_bin= /var/log/mysql/mysql-bin.log # WARNING: Using expire_logs_days without bin_log crashes the server! See README.Debian! #expire_logs_days= 10 #max_binlog_size = 100M #binlog_do_db= include_database_name #binlog_ignore_db= include_database_name # # * BerkeleyDB # # Using BerkeleyDB is now discouraged as its support will cease in 5.1.12. skip-bdb # # * InnoDB # # InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/. # Read the manual for more InnoDB related options. There are many! # You might want to disable InnoDB to shrink the mysqld process by circa 100MB. skip-innodb # # * Security Features # # Read the manual, too, if you want chroot! # chroot = /var/lib/mysql/ # # For generating SSL certificates I recommend the OpenSSL GUI "tinyca". # # ssl-ca=/etc/mysql/cacert.pem # ssl-cert=/etc/mysql/server-cert.pem # ssl-key=/etc/mysql/server-key.pem
View Replies!
View Related
Apache Not Working
I am currently using cPanel 11.0 E360 build. Apache 1.6.9 This morning, I used the "Modify Apache Memory Usage" , as suggested by csf/lfd. However once it is installed, my Apache can not be started/restarted. Is there a way to uninstall the Apache MemLimit script?
View Replies!
View Related
Apache Not Working With This Error
*** glibc detected *** double free or corruption (fasttop): 0x09f9f508 *** *** glibc detected *** double free or corruption (fasttop): 0x0949e508 *** *** glibc detected *** double free or corruption (fasttop): 0x08a8b508 *** What does this mean>? i tried rebooting and restarting.. but no go..
View Replies!
View Related
SSL Not Working On Apache 2
I have Fedora Core 6 with Apache 2. Im trying to generate a local SSL certificate but the folders ssl.key and ssl.crt are missing from the /etc/apache/conf folder. I installed mod-ssl and openssl and still same issue. What am I missing? Im installing everything through yum. I searched the whole drive and there is no folder called ssl.key or ssl.crt anywhere on the system. And right now I cant get port 443 work via the virtualhost config in httpd.conf: NameVirtualHost *:443 <VirtualHost *:443> DocumentRoot /var/www/html/mainsite ServerName mainsite.com </VirtualHost> After restarting apache and going to the mainsite via https it gives me the normal this is not a trusted certificate, I click ok and it takes me to /var/www/html/ instead of /var/www/html/mainsite. I was assuming because I dont have ssl setup correctly.
View Replies!
View Related
Cron - Not Working - Apache
I did not realize the significance of the Apache sub-forum. I thought perhaps this would be a more general Server management query, but I realize now I should have posted in Apache forum. I have been banging my head against the wall for the last couple of days trying to get cron jobs working. It's actually making me quite depressed, a lot of people are waiting on me to get this working, and for the life of me I see no light. I'm not a stupid person, i'm a PHP developer, and have some linux skills. This is the single most annoying issue I have had to deal with simply because I cannot find any troubleshooting methods to my issue. I have tried every different combination of command under the sun and I cannot get any sign that the cron is running the commands. I own a "virtual" dedicated server with a hosting company, I have full root access. Linux / Apache The script file is a PHP file which simply mail() an email saying that cron is working, I am yet to receive this mail that was executed by cron. I have ensured there are no errors in this simple PHP file, I have executed the script from the shell and all is well there.. So, firstly I tried to setup the cron table from CPanel, on the account where the script resides. I used the following command combinations: Code: 0-59 * * * * /usr/local/bin/php /home/username/public_html/cron.php 0-59 * * * * php -q /home/username/public_html/cron.php 0-59 * * * * php /home/username/public_html/cron.php 0-59 * * * * cd "/home/username/public_html/"; php cron.php 0-59 * * * * wget [url] with time combinations of: * * * * * to get the command to be executed evey minute, for testing purposes. All these commands work fine when executed through the shell. I set the mail address for cron output to be my mail address also. I do not get any mail from cpanel with an overview of the cron executions. I then gave up trying to get cron to work on that account, and decided to go root. I logged into the shell via root, checked the cron table for root. I edited the root cron table (that contains commands for various cpanel scripts etc) to include a command to execute the php script, even with the script residing on the root directory. I also added MAILTO="myemail@email.com" to the first line of the cron table. I do not get any emails of the cron actions. How can I check if the cron scheduler is working when I get no sign that the cron commands are being executed, and when I do not receive any cron emails? What methods are there for me to troubleshoot this issue? Could it be possible that cron shedular is not active on my server? I have lurked the net with great detail to find any method to troubleshoot my issue, and all the related pages I find are to do with troubleshooting the commands. I know my commands are fine, there is some other issue here.
View Replies!
View Related
Can't Get PHP Working With Apache2
I had php4 running as a module of apache2 on a debian sarge os. i did the following to upgrade to PHP5 apt-get install php5 libapache2-mod-php5 php5-gd php5-mysql But when i tried to start apache i got an error message saying that libphp5.so is corrupted or something.. (garbled - perhaps this is not an Apache module DSO?) Now i just want to retore php4 working as it was ! i did apt-get remove php5 libapache2-mod-php5 php5-gd php5-mysql and apt-get install php4 libapache2-mod-php4 php4-gd php4-mysql but i can't find the php4.conf and php4.load on the /modules-enabled or /modules-available tried to write those files manualy as php4.so exists with other libs. apache does not load php Quote: host:/etc/init.d# apt-get install php4 php4-mysql php4-cli libapache2-mod-php4 Lecture des listes de paquets... Fait Construction de l'arbre des dépendances... Fait Paquets suggérés : php-pear php4-pear Les NOUVEAUX paquets suivants seront installés : libapache2-mod-php4 php4 php4-cli php4-mysql 0 mis à jour, 4 nouvellement installés, 0 à enlever et 275 non mis à jour. Il est nécessaire de prendre 0o/3258ko dans les archives. Après dépaquetage, 6517ko d'espace disque supplémentaires seront utilisés. Sélection du paquet libapache2-mod-php4 précédemment désélectionné. (Lecture de la base de données... 35624 fichiers et répertoires déjà installés.) Dépaquetage de libapache2-mod-php4 (à partir de .../libapache2-mod-php4_6%3a4.4.7-0.dotdeb.0_i386.deb) ... Sélection du paquet php4 précédemment désélectionné. Dépaquetage de php4 (à partir de .../php4_6%3a4.4.7-0.dotdeb.0_all.deb) ... Sélection du paquet php4-cli précédemment désélectionné. Dépaquetage de php4-cli (à partir de .../php4-cli_6%3a4.4.7-0.dotdeb.0_i386.deb) ... Sélection du paquet php4-mysql précédemment désélectionné. Dépaquetage de php4-mysql (à partir de .../php4-mysql_6%3a4.4.7-0.dotdeb.0_i386.deb) ... Paramétrage de libapache2-mod-php4 (4.4.7-0.dotdeb.0) ... Paramétrage de php4 (4.4.7-0.dotdeb.0) ... Paramétrage de php4-cli (4.4.7-0.dotdeb.0) ... Paramétrage de php4-mysql (4.4.7-0.dotdeb.0) ... host:/etc/init.d# /etc/init.d/apache2 force-reload Forcing reload of web server (apache2)...apache2: Syntax error on line 116 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php4.load: API module structure `php4_module' in file /usr/lib/apache2/modules/libphp4.so is garbled - perhaps this is not an Apache module DSO?
View Replies!
View Related
Php Includes Issue On Linux Server With Apache 2.0.63 / Php 5.2.6
I am having some trouble with getting 'include' working. I have a new dedicated server running Apache 2.0.63 and PHP 5.2.6. Local includes on the same domain are running ok, but remote includes are throwing a problem. On the many sites we plan to host on this servber we use a central 'webmaster' page called as an include from a specific site (also on the same server). I need to edit the PHP.ini and /or recompile the PHP with the appropriate modules to do one of the following... 1 (ideally) - allow includes from any site that is held on this dedicated server 2. allow includes from specified websites 3. simply allow remote includes right settings to get one of these options running and solve my problem?
View Replies!
View Related
Apache Is Working But Can't Login To Whm
I have a problem with my server: all my websites are shown correctly but when I try to login to the website's cpanel I get an "Unable to connect" page. I tried to restart named and httpd but still no results. If I restart my server I know that it will be fixed but I would like to see what I can do before restarting the whole server
View Replies!
View Related
Ftp Not Working After Moving To Apache
to running my on vps it running on lxadmin i was running on lightptd but i move to apache beacuse i need it for mod_write but now i cant login to my ftp i get this Response:SSH-2.0-OpenSSH_4.3 Error:Cannot establish FTP connection to an SFTP server. Please select proper protocol. Error:Critical error Error:Could not connect to server
View Replies!
View Related
PHP Mail() Function Not Working
I have just changed servers and uploaded a mail() script which was working on my previous config but does not work on the new server config. What is stopping the emails from being delivered, is there something new in WHM that I need to do? Here are my WHM and cPanel details: WHM 11.11.0 cPanel 11.15.0-R18264 REDHAT 4 i686 on standard - WHM X v3.1.0
View Replies!
View Related
PHP 5.2.4 Fast CGI Not Working
I run lighttpd as my webserver, and 5.2.1 worked perfectly. I upgraded to 5.2.4 but when I checked my version, it said "cli". I ran the exact same configure command that I did with 5.2.1, but for some reason it says "cli". I then just ran this config: './configure' '--enable-fastcgi' '--enable-discard-path' '--enable-force-cgi-redirect' And got this error: collect2: ld returned 1 exit status make: *** [sapi/cgi/php-cgi] Error 1
View Replies!
View Related
Installed Apache And PHP Only Seeing Default Apache Page
I am having an issue where I have a server that Directadmin is installed on. I go to the a url that is on the server and all i see is the default page of apache saying congrats, it is installed. Although there is no file like that in the public_html any longer and I can see my files in the public_html folder of that specific site.
View Replies!
View Related
Apache/MySQL/PHP Issue - PHP Not Loading
I've got a server that was running Apache 2.0/PHP 5.2.5 & MysQL 5.0 just fine, however I needed to upgrade to a newer version of MySQL. So I uninstalled MySQL 5.0 and installed MySQL 5.1, copied the MySQLlibs over, and recompiled Apache/PHP with easyupdate. Apache & MysQL both start/run fine without errors, however PHP files don't load. Just get black pages (HTML works fine obviously). I went ahead and updated to Apache 2.2 & PHP 5.2.6 while I was at it, but that doesn't change things. I'm not sure why uninstalling MysQL & reinstalling would break any dependencies, but looks like thats the case. Perhaps I need to reinstall some libraries? Or would it be easier just to reinstall Apache/PHP entirely? I have no data.
View Replies!
View Related
FFMPEG-PHP Will Not Load! (been Trying To Get It Working For Days)
I have been trying to install ffmpeg-php for days, and I just can't seem to figure out why it won't load. I have done all of the following after extraction, without any errors: # cd /usr/local/src/ffmpeg-php-0.6.0 # phpize # ./configure # make && make install I have also added 'extension=ffmpeg.so' to the php.ini file and restarted the server. I run the test command: # php -i | grep ffmpeg There is no output. Then I run this command to check if the module is loaded: # php -m It is clearly not listed. If I go back to the ffmpeg-php directory and run "make test", I see a huge list of errors that don't seem to make sense, and every single test FAILS, with the exception of the ones that are skipped with "reason: ffmpeg extension not loaded". I can post the full output if needed. If anyone thinks they know what the problem is, your help would be infinitely appreciated; I would even be willing to compensate.
View Replies!
View Related
Index.php Not Working After Hack Attempt
I had an untapped image upload site on my server which i forgot. Some guys or children upload something noxious and neutralize all the "index.php". This was a hack attempt with SSH. We noticed that, close this account delete uploaded files. But there is a quirky problem. Any of index.php's isn't working after this attempt. Index file is working after change its name, example "mindex.php". We updated all the services, rebuild apache but don't working. We can't use any index.php on the server. Additionally, there are 34 possible trojans appear on the server. I tried to delete them with BitDefender but can't do that.( I checked that WHM / Scan for Trojan Horses )
View Replies!
View Related
Unable To Get Php-gd Working With 64 Bit CentOS 5
I am having major problems getting php-gd working properly in my LAMP environment. I am running 64 bit CentOS and PHP 5.2.6. I am trying to get gd working with PHP. Here are my currently installed packages related to gd: rpm -qa | grep gd gdb-6.5-25.el5_1.1 gdbm-1.8.0-26.2.1 php-gd-5.1.6-20.el5 gd-2.0.33-9.4.el5_1.1 sysklogd-1.4.1-40.el5 gd-2.0.33-9.4.el5_1.1 I have copied the gd.so from /usr/lib64/php/modules to the "extension location" specified in my php.ini and I have enabled the gd extension. But when I restart apache I get this error in the error log: PHP Warning: PHP Startup: gd: Unable to initialize module Module compiled with module API=20050922, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=0, thread-safety=0 These options need to ma tch in Unknown on line 0 And when I look at phpinfo(), gd does not show up.
View Replies!
View Related
PHP Mail() Function Stopped Working
I have a dedicated that suddenly stop php mail() function to work. Very strange because if I run php script with mail() function as root on command line all working fine. But If I run php script with mail() function in my browser so not work. Seems that only ROOT can run mail() function.
View Replies!
View Related
PHP Mail() Function Not Working With Lighttpd
I recently started using lighttpd + with PHP using Fast-CGI on a server hosting 14 blogs powered by WordPress, the server works great and this change reduced server load in about 50% which is nice for us, considering some of our blogs have a very high visitor traffic. Our only problem so far is that since we switched to lighttpd the PHP's mail() function is just not working. I have compiled and re-compiled PHP and Lighttpd without any effects. I have a test site still working with Apache and PHP scripts can send mail without problems. I've searched forums and Google for some kind of answer but none whatsoever maybe someone can give me pointers on how to solve this. Thanks a lot!! Server details: Lighttpd version: 1.4.15 PHP version: 4.4.4 Kernel: 2.6.9-42.0.3.ELsmp Server has cPanel/WHM installed PHP configure options: --prefix=/usr/local --with-xml --enable-bcmath --enable-calendar --with-curl --enable-exif --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-gettext --with-imap=/usr/local/imap-2004g --enable-mbstring --enable-mbstr-enc-trans --enable-mbregex --with-mcrypt --enable-magic-quotes --with-mysqli --with-mysql=/usr --with-openssl --enable-discard-path --with-pear --enable-sockets --enable-track-vars --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --with-xmlrpc --with-zlib --with-kerberos --with-imap-ssl --enable-fastcgi --enable-force-redirect
View Replies!
View Related
Upgraded To PHP 5 And Simple Includes Are Not Working
We upgraded 7 servers from our network from PHP 4.4.7 to PHP 5.2.5, and Apache 1.3.3.9 to Apache 2.0.61. In only one of this servers we found problems with includes... Include example that works: Code: <? include("http://www.google.com"); ?> This doesnt work: Code: <? include("path/file.php"); ?> And path/file.php does exist, also log error from apache doesnt even show a line . allow_url_fopen was replaced by allow_url_include and it's set to On. Im using PHP 5.2.5, Apache 2.0.61, cPanel and RHES 4.
View Replies!
View Related
Apache Is Working On Your CPanel® & WHM Server
I was changing IP Addresses on one of my domains on my VPS to a spare fresh IP. Since doing this, my DNS hasn't fully propgated, so I'm then facing this message. Apache is working on your cPanel® and WHM™ Server Now my question is, how do I change this default green Cpanel page? Could I swap it with my own page?
View Replies!
View Related
All I Want To Know Is Why Its Not Working - SMTP/PHP Contact Form ANNOYANCE!
I have just purchased a dedicated server running Windows Server 2003 (IIS). I have a website with a contact form - which I know works because it was working when I had it hosted somewhere else. My question is how do I set-up my server so that the contact form will work. I know it's something to do with SMTP -- But i honestly have not idea what i am meant to do. I wish there was a SLOW step-by-step guide on how to setup the SMTP on the server to send emails.!
View Replies!
View Related
Great Success, Apache Is Working After Subdomain DNS Configuration
So here's my situation: I have a rented vent server, that I wanted to point vent.mydomain.com to the IP of said vent server. I put an A record in the dns pointing to the server and all is well. When I type vent.mydomain.com into a browser it take me to the cPanel/WHM page saying "Great Success, Apache is working". Is it possible that I can somehow have that get redirected to the main site or no? Basically if Im connecting with the vent client, I want it forwarded to the vents IP, otherwise I want to have it redirected to mydomain.com.
View Replies!
View Related
Last Longer Or Spin Faster
In a system with all-in-one solution -- WEB, EMAIL, MySQL, FTP..in a same hard-disk. Would you prefer a "Last Longer" - SATA2 Enterprise Harddisk (Western Digital or Seagate) OR Would you prefer a "Spin Faster" - SATA1 RAPTOR (Western Digital)
View Replies!
View Related
Index.php Is Not Working But Index.php? Is Ok
I recompiled apache and php due to some problems. Now apache and php is running and I have a VB forum running fine. However, one folder has a PHP page named index.php when I type its URL I get it downloaded and it is not executed directly from the server. when I add "?" to the end of the URL[url]" it runs with no problems! Is it something wrong with httpd.conf or what?
View Replies!
View Related
Hostway Service No Longer Good - Hosting Is Down Today
I used to recommend Hostway.com to other companies, as they host our eCommerce site as a shared hosting site and their uptime and customer service were very good. But, NEVER AGAIN. Today, they have been down ALL DAY since around 10:30 am (they would not give me the exact time) and so has our business site! I called twice and the wait time the first time for a tech support person was over 1 hour! IN-FRIGGING-CREDIBLE! The 2nd call a few hours later was at least a 45 minute wait. The answer I got was that they had a hard drive crash and my site is unlucky enough to live on that drive. Understandable, but their explanation that it takes ALL DAY to restore a hard drive from tape is incredible (or havent they heard of RAID systems??). In any case, our site came back up for a few minutes and is back down again. Downtime since 10:30 or so is approaching 6 hours now! So, I will no longer recommend HOSTWAY to anyone for any reason. The incredible wait times on the phone line are ridiculous and we have lost $$$ today due to this outage and associated loses from adwords, too. Finally, it seems that Hostway's other problem is that they are trying to offer too many other kinds of services besides just hosting (which they used to be good at), and now they suck at their core basic service. That's my two cents. Any recommendations for a replacement hosting service that is reliable and well known? I think I pay about $50/3 months for Hostway.
View Replies!
View Related
Subdomain In Other Server, Get "Great Success ! Apache Is Working On Your CPanel®"
if you have a website with 2 or more servers i have two server, both are using whm/cpanel i had been pointing a subdomain.domain.com to the second server IP 111.222.333.444 in first server WHM "Edit DNS Zone", its already 48 hours now now i can login the ftp subdomain.domain.com, its success to login to the ftp but its still showing this message when open the subdomain site from browser Quote: Great Success ! Apache is working on your cPanel® and WHM™ Server If you can see this page, then the people who manage this server have installed cPanel and WebHost Manager (WHM) which use the Apache Web server software and the Apache Interface to OpenSSL (mod_ssl) successfully. They now have to add content to this directory and replace this placeholder page, or else point the server at their real content. ATTENTION! If you are seeing this page instead of the site you expected, please contact the administrator of the site involved. (Try sending an email to <webmaster@domain>.) Although this site is running cPanel, WebHost Manager, and Apache software it almost certainly has no other connection to cPanel Inc. or the Apache Group. Please do not send mail about this site or its contents to cPanel Inc. or the Apache Group. About cPanel: cPanel is a leading provider of software for the webhosting industry. If you would like to learn more about cPanel please visit our website at www.cpanel.net. Please be advised that cPanel Inc. is not a web hosting company, and as such has no control over content found elsewhere on this site. About Apache HTTP Server: The Apache HTTP Server is an open source web server which powers many of the worlds web sites. The Apache HTTP server is part of the Apache Group's many influential projects. Their efforts have helped shape much the world wide web, and they continue to be a dominating force in the web hosting industry.
View Replies!
View Related
Subdomain In Other Server, Get "Great Success ! Apache Is Working On Your CPanel®"
if you have a website with 2 or more servers i have two server, both are using whm/cpanel i had been pointing a subdomain.domain.com to the second server IP 111.222.333.444 in first server WHM "Edit DNS Zone", its already 48 hours now now i can login the ftp subdomain.domain.com, its success to login to the ftp but its still showing this message when open the subdomain site from browser Quote: Great Success! Apache is working on your cPanel® and WHM™ Server If you can see this page, then the people who manage this server have installed cPanel and WebHost Manager (WHM) which use the Apache Web server software and the Apache Interface to OpenSSL (mod_ssl) successfully. They now have to add content to this directory and replace this placeholder page, or else point the server at their real content. ATTENTION! If you are seeing this page instead of the site you expected, please contact the administrator of the site involved. (Try sending an email to <webmaster@domain>.) Although this site is running cPanel, WebHost Manager, and Apache software it almost certainly has no other connection to cPanel Inc. or the Apache Group. Please do not send mail about this site or its contents to cPanel Inc. or the Apache Group. About cPanel: cPanel is a leading provider of software for the webhosting industry. If you would like to learn more about cPanel please visit our website at www.cpanel.net. Please be advised that cPanel Inc. is not a web hosting company, and as such has no control over content found elsewhere on this site. About Apache HTTP Server: The Apache HTTP Server is an open source web server which powers many of the worlds web sites. The Apache HTTP server is part of the Apache Group's many influential projects. Their efforts have helped shape much the world wide web, and they continue to be a dominating force in the web hosting industry.
View Replies!
View Related
Php 4/5 And Apache 2
I would like to compile apache 2.2 with php 4.4.8 and fastcgi, plus phpsuexec support. Is this a stable option or not? I would also like to do the same, but with php 5 as well simultaneously on another server. My question is how would a clients script know what to use, php4 or php5 on the same box? Also, when is MPM Prefork recommended?
View Replies!
View Related
PHP+Apache
Perhaps one of you could enlighten me as to what I've done wrong. When I try to access the server [url]or [url] it downloads the source to index.php as x-httpd-php. This should not happen. When I try to access the server [url] or [url]it executes the script and works fine.
View Replies!
View Related
|