The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
13 views

If I put a path after `.php`, the script is not found

On my Debian "testing" system after installing Moodle the request to http://localhost/moodle/theme/image.php/clean/core/1473903261/req returns Not Found The requested URL /moodle/theme/image.php/...
0
votes
1answer
42 views

Compiling PHP with apache mod_php on Linux

I need to compile PHP with apache module on Kubuntu. I have installed both apache2 and apache2-dev. But I am unable to locate apxs2 nor apxs. $ uname -a Linux hppavilion 4.4.0-21-generic #37-Ubuntu ...
0
votes
1answer
43 views

PHP5.5 or PHP5.6 Availability for CentOS 7

Is php5.5 or php5.6 Available for CentOS 7?
0
votes
0answers
50 views

How to make a text file readable for only a local PHP file on server — not to everyone on web?

I have a PHP script that takes some sensitive data, hashes it, and then compares it against hashes in a text file on the server. Both the text file containing hashes and the PHP script are located in ...
1
vote
3answers
296 views

Apache shows Blank page for PHP

I've installed a fresh version of Centos 7, I'm new to Linux. I installed Apache using yum -y install httpd and I can open the test page and everything is ok with it. after that I installed PHP(5.4....
1
vote
1answer
215 views

mongo.so working fine with php apache ini but not with php cli

I added the mongo.so extension to /etc/php5/apache2/php.ini and it is loading perfectly in php info. But it does not work with /etc/php5/cli/php.ini. When I try to run composer for adding mongodb ...
-1
votes
1answer
134 views

Updating extensions after PHP upgrade on CentOS 5.6

I'm completely new to pecl, yum, rpm, packages and all the stuff required to get this done, so I'm hoping some of you smarter more experienced people can help me out. I only have a vague notion of ...
0
votes
0answers
195 views

Can't install phpMyAdmin with PHP 5.6

I work on a Centos7 with php56 (via remi-repo) and httpd and maria-db I try to install phpmyAdmin via "yum install phpmyadmin" but every time I have this message: Erreur : Paquet : php-tidy-5.4.16-...
0
votes
0answers
362 views

How to install laravel on xampp?

I'm using the latest version of manjaro 64 bit and latest version of xampp. I want to install composer and laravel; I tried many solutions on stackoverflow and askubuntu. Every time I see a different ...
2
votes
0answers
58 views

Fatal error: Call to undefined function gzopen() in /etc/apache2/htdocs/sites/all/modules/smart_ip/includes/smart_ip.utility.inc on line 454

I'm using centos 6.7, http 2.4.17, mysql 5.1, php 5.5.30. web page is working fine but at bottom it is giving below error. Fatal error: Call to undefined function gzopen() in /etc/apache2/htdocs/...
1
vote
1answer
365 views

Restart Apache after PHP update?

One of our Amazon Linux servers has php56 installed, which is not the default PHP installation. Quite often I see updates for this package, while on other server PHP is not updated. Do I need to ...
0
votes
0answers
166 views

Unable to install php 5.2.12 on FreeBSD 10 because of libphp5.so missing

I participate in a project where old PHP 5.2 is needed. But I can't install it on FreeBSD 10, always I get this error: [trex@H417 ~/Install/php-5.2.12]$ sudo make install Installing PHP SAPI module: ...
1
vote
1answer
64 views

Verify how command was executed

I run few PHP webpages with NGINX and PHP-FPM. Recently I hosted site for friend who had security issues with WordPress, did all upgrades, WP and Plugins. But somehow I found out today that user ...
0
votes
1answer
2k views

Getting Minor Version Mismatch Error with Php and Mysql

I randomly started getting this error when trying to instantiate a new mysqli instance in php script: mysqli::mysqli(): Headers and client library minor version mismatch. Headers:50541 Library:...
2
votes
1answer
417 views

Replacement for php5-auth-pam to authenticate website login against local users

I am working on a login for a PHP-based website where users should be successfully logged in if they enter a valid username and password for a local account on the system. Looking around, it seems ...
3
votes
1answer
42 views

Possible mcrypt spelling error?

While attempting to start a project with Laravel, the following warning is produced multiple times: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212/mcryot.so' - /...
0
votes
1answer
141 views

Centos 7 with facebook php-sdk4 - Network is unreachable

I am not sure why I am getting this error. Sometimes, it works and sometimes I get this error in the error log: Exception: Failed to connect to 1a02:1234:f000:4:face:b00c:0:1: Network is unreachable ...
2
votes
1answer
799 views

I keep getting error: PHP Startup - libphp5.so missing? PHP seems to run fine with Apache

My linux distro is Arch Linux. I first noticed this error when trying to send emails using the PHP mail() function. Testing with a simple mail-test.php file with the mail() function sends the email ...
0
votes
1answer
176 views

php showing just plain text [closed]

I have installed php5 but when I tried for <html> <head> <title>PHP Test</title> </head> <body> <?php echo "Hello World"; ?> </body> &...
1
vote
2answers
3k views

Can't finish php5-cli update

I get the following error after doing sudo apt-get upgrade: Setting up php5-cli (5.5.9+dfsg-1ubuntu4.6) ... ucfr: Attempt from package php5-cli to take /etc/php5/cli/php.ini away from package php5-...
0
votes
1answer
241 views

Is there any way to install MySQL 5.1 and PHP 5.3 on Centos 7

Is there any way to install MySQL 5.1 and PHP 5.3 on Centos 7. I researched a lot but could not find any link which gives step by step procedure. Can someone please give me steps to be followed to ...
0
votes
1answer
58 views

php connect to mysql

I am using Trisquel 7.0 LTS and installed php5 and php5-mysql. All php scripts working properly.(I used to write my-learning scripts in /var/www/html/xyz.php and all is working by http://localhost/xyz....
0
votes
0answers
163 views

Where is php config and .htaccess located on Raspbian?

I am trying to change the upload limit of my owncloud installation. A raspberry pi and the Raspbian OS are powering this server. Apparently I can edit the php config or the .htaccess config but I am ...
2
votes
1answer
6k views

php5.6.2 installation with httpd24 ( apache version 2.4.10 ) on centos/rhel

using this repo : http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/ius-release-1.0-13.ius.centos6.noarch.rpm for php installation , and for apache i am using amazon linux repo current ...
0
votes
1answer
2k views

how to enable mcrypt in php5.5 with rhel6.5

i am using rhel6 OS with php5 But i am unable to add mcrypt extension for php5. Lots of Google but doesn't find any solution. [root@lav6 modules]# locate mcrypt.so /usr/lib64/libmcrypt.so /usr/lib64/...