Questions tagged [php]

PHP is a server-side scripting language, used for building browser-based applications. This includes websites as well as programs that don't really need any form of interaction with the user.

Filter by
Sorted by
Tagged with
1 vote
1 answer
178 views

Ubuntu and phpmyadmin [closed]

I've installed Ubuntu 14.04 in my VM Virtual Box, installing phpmyadmin in the process using the command sudo apt-get install phpmyadmin I configured phpmyadmin with Apache2 and advanced options, ...
Ahmer's user avatar
  • 19
1 vote
1 answer
2k views

php zlib gzopen not exists

I'm using Ubuntu 14.04 and php 5.5.9-1ubuntu4 (cli) (built: Apr 9 2014 17:08:27) var_dump(extension_loaded('zlib')); => true var_dump(function_exists('gzread')); => true var_dump(...
BntMrx's user avatar
  • 111
1 vote
0 answers
123 views

Is there a man page for php pear from php-pear package?

I'm searching for man page documentation or alternatives for the php-pear package on Ubtunu 13.10. Concretely I'm stuck with the following issues (besides not finding the man page where I believe to ...
Kalle Richter's user avatar
1 vote
0 answers
1k views

Subdirectories Show 404 Not Found on 13.10 web server

I recently set up a web server on Ubuntu 13.10 and when I enter the external IP it works fine showing the index file of var/www/ but whenever I try to add a folder, say one called test, and I go to ...
derekshull's user avatar
1 vote
1 answer
2k views

How to connect to SQL SERVER using php?

I have Microsoft SQL Server 2008 on Windows PC but my PHP is on Ubuntu, hosted by webfusion. I haven't configured anything at all but I want PHP to connect to SQL Server. What drivers do I need and ...
user266722's user avatar
1 vote
1 answer
2k views

Apache restart after updating php pages

I have to restart apache every time i update a php file. It's not a client browser cache problem, I tried multiple browsers. The strange thing is I only need to do it with php files, html files ...
user3320468's user avatar
1 vote
0 answers
830 views

Ubuntu 13.10 install php-fpm with apache 2.4

I tried multiple tutorials on how to install php-fpm (cgi) with apache2. None of them worked with 13.10. I even installed ubuntu completly new after each one. This is one for example: How to configure ...
user2693017's user avatar
1 vote
0 answers
2k views

Apache: New files and folders does not get correct permissions

This is what i'm working whit. Ubuntu Server 13.10 /w Kubuntu Desktop 3.11.0-17-generic Apache/2.4.6 (Ubuntu) PHP 5.5.3-1ubuntu2.1 (cli) Module SuPHP Enabled My issues: I can install Joomla, and ...
BD Bear's user avatar
  • 480
1 vote
0 answers
1k views

nginx with hhvm - Not found

I'v set up nginx with hhvm but, any file .php returns me "Not found" except index.php that returns me Running on HHVM version 2.3.2. Some of my configurations /etc/nginx/sites-enable/default ...
PJunior's user avatar
  • 345
1 vote
0 answers
905 views

Executing pdftk with php exec on Ubuntu 12.04.3

exec("cd /var/www && PATH=$PATH:/usr/bin/ pdftk 1.pdf 2.pdf 3.pdf 4.pdf output final.pdf"); I'm trying to execute this command on Ubuntu 12.04.3, it's working fine when I'm connecting via ssh,...
Mohamed Said's user avatar
1 vote
2 answers
2k views

Ubuntu server sending mail from www-data

I am running a server with Ubuntu 12.04 and three wordpress installations, some ftp server and a basic postfix to send mails with wordpress. additionally I am using webmin to administrate this system. ...
Riccardo's user avatar
  • 131
1 vote
0 answers
1k views

How do I save an uploaded file in PHP?

In PHP, I'm trying to save a file to the /var/www/upload directory, but whatever I try, it doesn't work. I've tried giving www-data ownership of /var/www and subdirectories. I've tried modifying the ...
user3079344's user avatar
1 vote
0 answers
845 views

Integrate ImageMagick & MagickWand with php ubuntu 12.04

I have installed both ImageMagick and MagickWand in my ubuntu system by refering to the detailed instructions provided in Install ImageMagick From Source and MagickWand For PHP. When I chack whether ...
dipak_pusti's user avatar
1 vote
1 answer
4k views

php5-fpm : Depends: php5-common (= 5.3.10-1ubuntu3.8) but 5.4.6-1ubuntu1.4 is to be installed

I want to set up PHP behind Nginx with FastCGI but I stuck on the sudo apt-get -f install php5-fpm what i've tried: sudo apt-get -f install php5-fpm Reading package lists... Done Building ...
dvrecmfo's user avatar
1 vote
0 answers
428 views

Problem after installing phpmyadmin

I installed apache, mysql, and php on my Ubuntu 12.04 server but after logging in all I see is a white screen displaying a forward slash. Is there something else I need to configure or enable? / ...
CR47's user avatar
  • 141
1 vote
1 answer
83 views

Crontab woes --- help me figure out why it's not running

I'm having troubles creating a crontab that executes a series of php scripts when I specify it. From what I can tell the cron doesn't even run... Also if someone knows a method to allow me to run ...
Josh's user avatar
  • 13
1 vote
0 answers
34 views

Error code 500, I have an error while I am trying to view index.php file [duplicate]

Dear People who will read this I was programming php by fallowing tutorial with phpacademy Login and Register tutorial before that it was fine and I noticed after I closed terminal it gave me 500 ...
user179961's user avatar
1 vote
1 answer
4k views

How can I install php5-fpm and apache and configure the apache vhost?

I don't find a valid a description how can I install configure the apache vhost correctly. Can everybody help me? <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName webpage....
turbod's user avatar
  • 143
1 vote
1 answer
1k views

Shell script now working on post/get request

I have a simple script in php to fetch files from my github repository <?php echo shell_exec('git pull'); ?> When I ssh into my server and run this script like this: php github.php I see ...
Vivek Pradhan's user avatar
1 vote
1 answer
783 views

how to install apache/php from apt alongside mysql 5.6 from source

I managed to install MySQL 5.6 on obuntu 12.10 but now I need apache/php packages but when I try to install them thorough apt they try to install mysql-common (presumably 5.5) How to solve this?
greg606's user avatar
  • 121
1 vote
2 answers
3k views

How to remove PHP 5.3.25-dev?

I tried to remove PHP from ubuntu: sudo aptitude purge `dpkg -l | grep php| awk '{print $2}' |tr "\n" " "` But without results. when I run php -v in terminal I get PHP 5.3.25-dev How I can remove ?...
user avatar
1 vote
2 answers
94 views

what does php use if multiple MTAs are installed?

I'm just wondering what happens if I have sendmail installed, and subsequently installed postfix, what will php use when I use the mail command? Will having 2 MTAs installed cause any other problems?...
inorganik's user avatar
  • 1,735
1 vote
1 answer
1k views

403 error on PHP - lighttpd

I have set up the fastcgi properly, unhashed it from the module.conf, [root@xlh lighttpd]# service lighttpd status Redirecting to /bin/systemctl status lighttpd.service lighttpd.service - Lightning ...
x10nd's user avatar
  • 11
1 vote
2 answers
596 views

Erased root trash but still getting no memory

I was coding my site on Apache Server. Suddenly an error came and I got the warning This computer has only 1.3 GB remaining. I knew that this was because of the log file in /var/log/apache2/...
Subin's user avatar
  • 760
1 vote
0 answers
44 views

How to relay gmail using postfix? [duplicate]

Possible Duplicate: How can I configure Postfix to send all email through my Gmail account? I want to test php mail function from my ubuntu desktop. I heard that postfix can do this. But I don't ...
Tachyons's user avatar
  • 17.3k
1 vote
1 answer
1k views

Image Magic Make Fails - PHP extension

So I was doing the following: sudo apt-get install php-pear php5-dev sudo apt-get install imagemagick libmagickwand-dev sudo pecl install imagick It all works till I get the error: make: *** [...
TheWebs's user avatar
  • 381
1 vote
1 answer
825 views

virt-manager in php

can anybody help me to display details about the VM using PHP code. am using Ubuntu server and used KVM as hypervisor. Am trying to display cores, ram, memory alloted each VM. i have tried all the ...
Poorni Ma's user avatar
1 vote
1 answer
982 views

I have no extension=* statements in my php.ini yet they load. How?

How are my php extensions loading if there are no extension=* statements in my php.ini? Does it just automatically load everything in my /conf.d/ directory? I can even find the path to /conf.d/ ...
Frank Barcenas's user avatar
1 vote
1 answer
596 views

Downgrading LAMP's PHP?

i'm somewhat new to Ubuntu. I am a web developer, and I've been trying to install LAMP properly so I can test my creations. Here's my issue, I use PHP 5.2.5 to program as I find it to be the superior ...
Jake's user avatar
  • 111
1 vote
2 answers
1k views

Is there a PHP 5.3.x PPA for 10.04?

I currently have an OpenVZ VPS system running 10.04LTS, which I need a newer build of PHP 5.3 on. This is because I use PHP-FPM for all the virtual sites it hosts, and the Lucid build doesn't include ...
gac's user avatar
  • 121
1 vote
1 answer
3k views

How can I install php 5.2 in 11.10?

I wish to install a "legacy" php application (magento commerce 1.3) into a oneiric server. All the ppa's I've found hold packages for previous ubuntu versions. I've tried to recompile php myself but ...
lrkwz's user avatar
  • 304
1 vote
0 answers
88 views

How can I run php 5.2 on 10.04? [duplicate]

Possible Duplicate: How to downgrade PHP from 5.3.x to 5.2.x For drupal servers, I used to install 10.04 (lucid) + php 5.2 (karmic). Now that karmic is gone, I don't know where to take php 5.2 ...
motd's user avatar
  • 11
1 vote
2 answers
851 views

configure phpmyadmin for php4

i am new to linux and i am using ubuntu(11.01) and through google i installed php5.3, mysql apache2 and phpmyadmin each were working smooth, but i needed php4.4.9 i google and download the php4.4.9 ...
jogesh_pi's user avatar
  • 113
1 vote
2 answers
837 views

Xampp PHP File Permissions with NTFS Hdd's as additional media storage

I have 4 drives in my (yes, physically in the box, sata connected) Ubuntu 10.10 system with xampp installed at the /opt/lampp/ dir on the OS drive. The OS drive (ssd, lets call it drive1 for sanity) ...
Vance's user avatar
  • 13
1 vote
1 answer
869 views

Is there a binary package for php5-sqlite3 with fts3 enabled?

I would like to have PHP with SQlite with FTS3 extension enabled, as noted in Manual:SQLite - MediaWiki. I'm somewhat confused about FTS3 support in the default Ubuntu packages; from Bug #229003 ...
sdaau's user avatar
  • 3,056
1 vote
0 answers
482 views

Good php editor [duplicate]

Possible Duplicate: What are some good PHP editors? i have seen through other questions on the topic but most are a bit old. I looking for a good editor for developing on PHP in Linux(ubuntu). ...
aWebDeveloper's user avatar
1 vote
1 answer
1k views

PHP 7.3 update didn't take

OS: Ubuntu 16.04.6 LTS I updated to php 7.3. Everything appeared to go correctly. However when I type in php -v I get "PHP 7.2.24-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Oct 24 2019 18:28:...
NealM's user avatar
  • 23
1 vote
1 answer
716 views

Running useradd with shell_exec

After trying to give permissions to /etc/passwd, the useradd command wont execute from php's shell_exec(); I also tried to visudo and change passwd's owner, the error is still useradd: Permission ...
BusyLM's user avatar
  • 31
1 vote
1 answer
2k views

Installing/Configuring Zend Debugger for Eclipse PDT

I`m unable to configure in IDE or install properly Zend debugger. Installed php5.6 libapache2-mod-php5.6 and so on. Downloaded Zend debugger for php5.6 separate from other zend stuff. (It last ...
LeonidMew's user avatar
  • 2,734
1 vote
1 answer
2k views

Why doesn't php (cli) have a default memory limit?

After coming across a server that had an Out of Memory issue from a commandline php-script, I discovered that default (vanilla 12.04 LTS server install) the cli php.ini does not have a memory limit ...
Nanne's user avatar
  • 8,625
1 vote
3 answers
3k views

Upgraded PHP on Ubuntu but old version still in use

I just upgraded PHP to V5.4 on my laptop, using the technique described in this answer, How do I install different (upgrade or downgrade) PHP version in still supported Ubuntu release?. I did the ...
DatsunBing's user avatar
1 vote
1 answer
2k views

wget to get a file generated by a php script

I am trying to get a file generated by the php script export.php. But using this command, I am either getting 403 Request Forbidden or downloading the script itself instead of a .csv the script is ...
firepro20's user avatar
  • 141
1 vote
1 answer
468 views

er errors Given when installing libssh2-php

Hi I'm trying to install a mail server on my ubuntu 13.10 machine, I have LAMP server installed, and works great, I want for my computer to be able to send emails (working as a server) so I decided to ...
Bojack's user avatar
  • 31
1 vote
3 answers
10k views

Unable to start my apache

After I downgraded my php5.5 to php5.3.10, I no longer able to start my apache2. Here is what I get: sudo service apache2 start [sudo] password for fcasili: * Starting web server apache2 ...
The mountain is calling..'s user avatar
0 votes
4 answers
11k views

Laravel loading error in Ubuntu 14.04

When I tried to access my laravel after successfull updation, instead of the default page it shows an error in the webpage. Mcrypt PHP extension required. I have tried some fixes like this, sudo ...
Anshad Vattapoyil's user avatar
0 votes
1 answer
49k views

How to check where Apache is running or listening on Localhost

I just installed Apache on my Ubuntu , But when I write localhost: it redirect me to a page. Welcome to nginx! If you see this page, the nginx web server is successfully installed. and ...
ephemeral's user avatar
  • 103
0 votes
4 answers
13k views

Php doesn't work on Apache server

I installed LAMP sudo tasksel install lamp-server I can run my site, but the php code is just displayed as text. I have tried this solution, but it didn't help me. When I try to run php script ...
serezha93's user avatar
0 votes
2 answers
16k views

SQLSRV driver installation problem in Ubuntu 16.04 32-bit system

I'm trying to install sqlsrv driver in my Ubuntu 16.04 os system, but I get this error running: make /bin/bash /tmp/pear/temp/pear-build-rootliPAYQ/sqlsrv-4.3.0/libtool --mode=compile g++ -std=c++...
shijin's user avatar
  • 101
0 votes
3 answers
10k views

PHP installation appears to be missing the MySQL extension

After upgrading my ubuntu from 15.10 to 16.04 LTS, it is showing an error Your PHP installation appears to be missing the MySQL extension when taking any local website from my lamp. When I tried to ...
AbuAbdillah's user avatar
0 votes
1 answer
2k views

.php files are downloaded instead of being parsed by Apache

I have Xampp on Ubuntu 11.04. .php files are downloaded instead of parsed by Apache! How do I get Apache to parse them?
oiko's user avatar
  • 29

1
26 27
28
29 30
53