General :: Error When Configuring Apache 2.2 And Php 5.3.2 On RHEL5
Apr 22, 2010
i am in the process of installing apache 2.2 with php 5.3.2, my problem is that after installing and configuring them , this important module libphp5.so is no where to be seen under /usr/local//apache2/modules/, so when i attempt to start or stop apachectl , i get the following errors ..
httpd: Syntax error on line 54 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory
this is how am loading the module in httpd.conf
#LoadModule php5_module modules/libphp5.so
why isn't this file there . is there a way i can get this to work
Need a bit of help from the linux community. Lately, I have been trying to configure squid as transparent proxy on my server running on RHEL5. I had gone through few articles on web abt how to configure it and configured squid accordingly adding http_accel_xyz settings and then configuring the NAT using iptables. But while restarting squid there were warnings about "unrecognized: http_accel_..." in parseConfigFile.What I could get from these is that probably I need to recompile squid adding transparent proxy support. I downloaded the new squid 3.0 and tried to compile it.But unfortunately, the 'make' command fails giving library errors.I have been stuck with t now as the new squid does not compile and old one does not support the transparent mode.could compile the new one and what supporting libraries do I need to compile it successfully and also from where can
I am configuring apche on rhel5, I got default page successfully, and virtual page too, when I keep only one file index.html in virtual folder it goes well, that file opens correctly, but when I keep other html files except index.html server shows default page again.
I'm new to Ubuntu and installed Apache, Tomcat and PHP using separate packages. All work well but it seems that the default doc root for Apache and PHP are in different places as:The following command to start Apache: sudo /usr/local/apache2/bin/apachectl start brings me to the "Test Page for Apache Install" and shows the Apache logo--successful--when I hit URl....Also, could someone please tell me how to stop PHP from starting Apache on boot?
I have to go through an ERP projects. "README" file to setup the software gives following instruction which I have attached with this thread.So, according to first step I copied the entire "dolibarr-2.6.1" folder in "/usr/local/apache2". But whenever I call the browser with address given in "README" file my browser gives the following error message : Code: Firefox can't establish a connection to the server at localhost.Please let me know how can I configure the Web Server so that I can use the software.
I have a Apache web server and a separate tomcat 5 server. I can run the jsp-exaples just fine using HTTP. However using HTTPS fails. For some reason it appears HTTPS is not forwarding to the connector, I get 404 not found, returned.If I simply try https://apache_server_ip I successfully connect to the default Apache page.According to this page it should just work. Apache should do the ssl encryption/decryption and tomcat operate as normal.
I am using the virtualhosts feature of Apache web server to host multiple domains on a single web-server. Is it possible to have different settings for php for different domains?
For eg:- I have mydomain1.com and mydomain2.com hosted on the same server. I want php scripts of mydomain1.com to connect to database but prevent database access for scripts of mydomain2.com. There are many php functions that I want to restrict for mydomain2.com.
I'm trying to install Zimbra and Apache. I'm having difficulty setting up DNS (if necessesary) and also configuring my /etc/hosts show me what the /etc/hosts should look like.
I have a problem with AMXbans. My Linux is Slackware 13.0. , mysql is version 5.0.84, Apache/2.2.13,PHP 5.2.3 from locahost or real IP in internet explorer i see this error " Lost connection to MySQL server at 'reading initial communication packet', system error: 111". In /var/log/httpd/error_log I see this error:
" [error] [client IP] PHP Warning: mysql_connect() [<a href='function.mysql-connect'>>function.mysql-connect</a>]: Lost connection to MySQL server at 'reading initial communication packet', system error: : 111 in /var/www/htdocs/web/include/config.inc.php on line 48, referer: http://My real IP/web/ //connect to db - "this is line 46" $config->db_host=gethostbyname($config->db_host); "this is line 46" $mysql = mysql_connect($config->db_host,$config->db_user,$config->db_pass) or die (mysql_error()); - "this is line 48"
I am about to configure LAMP (Linux, Apache, MySQL and PHP) and following this link.However, I want to use Apache Tomcat instead of Apache, can I do so ?I can very well try and figure this out, but was just curious if someone has tried it. Or may be I can get some more ideas and useful links.I am just trying for knowledge.Meanwhile, if someone else is interested, these are the links used to download appropriate source packages.
- JRE & JDK : Java Platform Standard Edition (Java SE) 6 Update 10 - Tomcat - Apache Ant
Here, "Apache" Ant is a software tool for automating software build processes. It is similar to Make but is implemented using the Java language, requires the Java platform, and is best suited to building Java projects. - PHP 5.2.13 - MYSQL 5.0.90
I have succesfully installed Apache... It works fine with PHP-MySQL support... I love it too...
But the thing is that I have to store all my files in /var/www/html/ which sort of annoys me... I was wondering of there is any method to reconfigure the httpd.conf file to do it...
I've decided to install apache server from groundzero. So I've done next things:1)downloaded source tar with apache22)unzipped it3)./configure(d) it4)make5)make install ...But!!! I can't start it. apachectl in /usr/local/apache2/bin
error answer is: <code> [root@dhcppc1 bin]# apachectl start
I am trying to install atheros AR5007EG on my toshiba laptop -i figured out that best way to install this wireless card is through madwifi -while configuring madwifi i get this error
I am posting the output of different commands so you can understand better -i manually tried to link the build directories to kernel-source which failed - i am not sure exactly what kernel source is and how i can link to kernel source -
We need to setup a load balancer (software) for an apache web service in order to balance the load between two servers.
In explenation:
- two physical servers exist that runs a web based application (exact copy of each other) - Real servers using Apache as the web server. - Users need to connect to a "virtual link" whihc will then load balance across the two servers based on the host that is the least busy.
Currently using Ultramonkey, however after upgrading to RHEL5.4 , Ultramonkey is no longer supported and installations fail.
Can anyone perhaps provide me with some ideas on alternative options for this keeping in mind that the client will have to be able to manage this afterwards as well.
I am getting this error whenever I access the page:
Code: PHP Warning: fgets(): supplied argument is not a valid stream resource Any idea whats all about? I explored and found it permission issue. I want to put a user call paul in apache group.Any idea how can I do that?
Our websever, Linux Debian with mysql, apache2, php 5 went down this saturday. Now this monday morning i must find out why this happened. I am looking for the the correct log files. We know that the server was available by using ping so it is (was) an application failure. We know that the our apache support team had changed the php to improve performance to apc.shm_size=192M (a couple a weeks ago) because couple a weeks ago we got a "Unable to allocate memory for pool" error message. Our server is running on a Vmware Server version 3 as virtual machine with sufficient CPU and RAM resources. Where and which log files must be checked to avoid future download times (it is our Company web page!!!!)
I have RHEL5 with apache installed and running. I have a directory off of / called software that I would like to have show up as a directory listing so if I go to [URL] I get the directory listing. I have tried searching around and nothing seems to work for me. So out of the box how do I get this to work? My server properly resolves to [URL] so I am good there.
I was unable to access my dedicated server for few minutes. I have checked the apache error logs and found below notice: [notice] caught SIGTERM, shutting down I have tried to search from Google but could not find much information about this error.
How can I configure apache2 to show the error message in the browser? Just for the purposes of debugging, I do not want to have to open the server error log every time.
I have a code that does 3D rendering that worked on a system running RHEL4 32-bit with an NVIDIA GeForce 260 video card. I have a new system now running RHEL5 64-bit (The shared object libraries for the code are 32-bit) with an NVIDIA GeForce 295 video card that when I execute the code I receive the following error:
BadMatch (invalid parameter attributes) Major opcode of failed request: 143 (GLX) Minor opcode of failed request: 5 (X_GLXMakeCurrent) Serial number of failed request: 26 Current serial number in output stream: 26
Can anyone give me any ideas on what could be causing this error? This really isn't my area of expertise unfortunately. I'm not the author of the code. Could I be missing some libraries or something along those lines? Let me know if you need me to post up more information.
I have installed Red Hat Linux 5 and using it. But when I uninstalled one package and booting after that, I got the following error Error 15 : file not found
I am using rhel5 with ip 192.168.0.254.i am using rhel on vmware 7. when i run links 192.168.0.254 then i got error "bash : links : command not found" i want to know why this error is showing? when i use red hat without vmware then there is no problem.
I am installing Big Brother on a CentOS 5.2 running the default Apache 2.2.3. When I try to access any web page I get the following error: Forbidden You don't have permission to access /bb/ on this server. Apache/2.2.3 (CentOS) Server at fmsubbnix Port 80 So far I have:
1) Set the Directory options to FollowSymLinks 2) Verified all directory and file permissions are at 755 3) Set permissions temporarily to 777 and received same error so I am assuming the issue is in a config file somewhere 4) in hhtpd.conf verified <Files ~ "^.ht"> is correct 5) verified the "default" directory is correct (/var/www/html)
I have read and tried several ideas in posts listed on the web but to no avail and am at a loss as to what to look for next..