Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - vojjin

Pages: [1]
1
PHP / Re: PHP not working while static pages do
« on: May 21, 2020, 04:44:58 PM »
in the .conf file I see:

Code: [Select]
        <IfModule proxy_fcgi_module>
                <FilesMatch \.php$>
                        SetHandler "proxy:unix:/opt/alt/php-fpm71/usr/var/sockets/lokalmad.sock|fcgi://localhost"
                </FilesMatch>
        </IfModule>
but folder /opt/alt is completely empty.

Another site (API one) which is working does not have these lines .... I have removed lines and rebuild configuration and now works. :)

2
PHP / PHP not working while static pages do
« on: May 21, 2020, 02:17:50 PM »
I have a client (theatre) where they have a local server for ticket selling, and they were not working past two months due to corona virus. When we wanted to check server it looks php on server is not working at all but static pages do. We're receiving error 503 = The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. There is nothing in access log. However, there is another account on server which is used for their mobile application with just an API on it, and it looks that domain IS working. I'm really confused.

I have updated linux system, deleted php 7.1 and installed 7.3 ... nothing helps.

Any idea?

Regards,
Vojin

3
CentOS 7 Problems / Re: httpd.conf get erased on rebuild
« on: January 27, 2019, 11:50:43 PM »
I'm using the latest version. I have fixed somehow - turned on NAT mode (which I never turned on on other servers), changed DNS records to local IP and suddenly all start working. If you ask me to repeat how and what I exactly did, I cannot reproduce my steps... Now httpd.conf is regularly updated.

4
CentOS 7 Problems / httpd.conf get erased on rebuild
« on: January 26, 2019, 12:53:35 PM »
This is my 4th CWP server and I never experienced problem like this one. Site is showing "It works!", and I use solution founded here to rebuild Apache conf. After rebuilding Apache, httpd.conf was almost entirely erased, leaving just last three lines in the file:

Code: [Select]
ExtendedStatus On
Include /usr/local/apache/conf/sharedip.conf
Include /usr/local/apache/conf.d/*.conf

Solution to fix this problem was to reinstall cwp-httpd which I did, and after that "It works!" happened again.... vicious cycle...

Any idea how to fix this issue?

Pages: [1]