PHP is a widely-used general-purpose scripting language that is especially suited for Web development. The current version is 5.3.3, released on July 22, 2010.

learn more… | top users | synonyms

0
votes
1answer
4k views

Curl Returns “Connection Refused” when trying to access localhost

I am running Xampp (Apache, Mysql and PHP) on my Windows Vista computer. I have curl installed on my machine. When I try to curl my localhost in the command prompt, I get the following: curl -v -i ...
-1
votes
0answers
21 views

How can i make my http server look like its from brazil?

So i have created a http server http://impulzz.comuf.com/cstrike/ and its located somewhere in the US, so when i do a trace route some city in the US comes up, I would like to make it look like this ...
0
votes
0answers
4 views

Once again Trovebox (OpenPhoto) setup hangs/fails at final step 3

Trovebox setup doesn't proceed beyond step 2. Gives a blank page 3 Having the same issue as this post but advice there is not resolving my issue Trovebox (OpenPhoto) setup hangs/fails at final step ...
1
vote
2answers
3k views

Can't run localhost PHP server on OSX Mavericks

So i've done this before but I don't remember the command. I was able to use a directory a localhost file. I've tried sudo apachectl start but when I go to localhost the page isn't found. I've also ...
1
vote
1answer
17 views

File exists but returns “The system cannot find file specified” when using UNC path

I'm using PHP to check if a file exists and then get it's size. The code worked great before but now that we're using a UNC path I can check that the path exists with file(exists($filename)) but ...
0
votes
0answers
7 views

How to install package with locale dependencies?

I've built my own PHP5.5 on my RedHat6.6 two month ago in order to support Sybase database connections. Today I want to enable memcached support. I tried yum install php55-php-pecl-memcache.x86_64 ...
-2
votes
0answers
29 views

How to print PDF using dot matrix printer [on hold]

I have test to print PDF file using dot matrix printer. At the first printing, I was lucky because the output "Its what U see What U get", the output printed use font family Courier. But when I ...
3
votes
2answers
689 views

Can't access wiki site through any other computers on my LAN

I am trying to set up an internal wiki site for my company. Product info, specs that sort of thing. I have downloaded and installed WAMP Server 2.2 (Apache 2.2.22 MySQL 5.5.24 PHP 5.3.13) as well as ...
4
votes
2answers
3k views

How do I upgrade PHP on CentOS and Kloxo?

I need to upgrade PHP so that I can upgrade joomla on my dedicated server. I have: kloxo 6.1.6 php-5.2.17-1 Linux CentOS-55-64-minimal 2.6.18-194.32.1.el5 x86_64 x86_64 x86_64 GNU/Linux I searched ...
0
votes
0answers
9 views

GET variables in rewritten urls? [on hold]

I currently have the following URL structure in my online shop: http://localhost/product/123/mens-t-shirt Which opens the following page: http://localhost/product.php?id=123&uri=men-t-shirt ...
0
votes
0answers
19 views

SSH2 taking too long to connect with remote server [on hold]

I am trying to connect with remote server using SSH2 configuration but it’s taking too long to connect with remote. Is there any way out for this so that i will connect with remote quickly using SSH2? ...
0
votes
2answers
52 views

FTP is corrupting files since a few days

Since a few days, every ftp upload I run corrupts files over a certain size, mostly after 400 - 500 lines of code, the file breaks, starts all over from the beginning, and then after a few lines ...
0
votes
0answers
10 views

Buffer problems Adafruit Thermal Printer connected to Raspberry Pi B+ [migrated]

My Raspberry Pi B+ is hosting a PHP website and that is connected to a thermal printer through serial interface (RS232 Adafruit thermal printer). So I used the library PHPSerial to write to my ...
0
votes
3answers
2k views

How to Configure Adobe Dreamweaver CS6 with PHP and ASP .NET?

I have Wamp Server on my PC and also Visual Studio and I want to Configure Adobe Dreamweaver CS6 with ASP .NET and PHP so that I Can design Dynamic website....
0
votes
1answer
2k views

How to install Imagick on Mac OS with XAMPP

I'm having some trouble installing Imagick on a Mac. I have XAMPP installed and when I run 'sudo pecl install imagick', I get this error: checking ImageMagick MagickWand API configuration program... ...
0
votes
0answers
11 views

How to send COOKIE, PHPSESSID from my own webserver to php5-cgi script to execute PHP pages

I am developing a Webserver in C. I know how to pass environment variables to ph5-cgi, eg: putenv("QUERY_STRING="); putenv("REQUEST_METHOD=GET"); putenv("REDIRECT_STATUS=true"); ...
2
votes
0answers
9 views

Customise HTML-Kit Tools syntax highlighting

I'm using HTML-Kit tools to edit a PHP site. The syntax highlighting's really helpful, but it would be good if I could edit it, specifically so that my custom functions would be highlighted (as ...
0
votes
0answers
13 views

PHP: Print array to template without template engine [migrated]

I have a simple associative array in PHP containing data I like to print out in a format specified by a HTML template. The template would look something like this: <html><head>Some ...
1
vote
1answer
45 views

PHP 5.6.6 loading but not interpreting in Apache2.4 64 bit Windows

I have installed Apache 2.4.12 (Win64) VC11 from Apache Lounge. Typing httpd -M tells me that php5_module is loaded and shared. I have PHP 5.6.6 win32 VC11 Thread Safe installed. The Apache server ...
0
votes
2answers
2k views

php build error: /usr/bin/ld: cannot find -lltdl

I am not a build guru and could use a pointer. I'm trying to make php5 on linux. I have successfully run config. I run make and get the following error: /bin/sh libtool --silent ...
0
votes
0answers
11 views

ISPConfig3: No PHP MySQL function available

This message is given when I configure ISPC3 with php -q install.php The ISPC3 output: ISPConfig3: No PHP MySQL function available. Please ensure the module is loaded. I've tried to install the ...
0
votes
1answer
23 views

PHP PECL Sphinx module won't install

I'm trying to install the PHP Sphinx client (PHP 5.6) on my Debian 7 server using PECL. I get the misleading error "wrong libsphinxclient version or lib not found" when trying to build, even though ...
0
votes
1answer
3k views

how to enable event MPM Apache 2.4 Ubuntu 14.04 with thread safe PHP?

I upgraded to Ubuntu server 14.04 expecting the default apache installation would use the new event MPM, but instead I find the old memory-eating prefork. I've successfully set up event MPM in Arch ...
0
votes
0answers
15 views

php.ini changes not reflected to website

i am unable to edit the php.ini changes. i changed in the etc/php.ini and also in home/domain/etc/php5/php.ini But the changes are not be reflected when i see on the php files. i am using phpinfo() ...
0
votes
1answer
33 views

Login script with PHP and MySQL doesn't work, users from database doesnt appear - probably rookie mistake

I am new at php and MySQL, and I might have a stupid mistake here, but I just cant find it.... The script returns that I have entered wrong password or username, but I am completely sure that both are ...
1
vote
2answers
3k views

CURL Error version OPENSSL_1.0.1 'not found …'

I have the last few days, a concern with CURL. I get this error: curl: / lib/i386-linux-gnu/libssl.so.1.0.0: version `OPENSSL_1.0.1 'not found (required by / usr/lib/i386-linux-gnu / libcurl.so.4) ...
-1
votes
0answers
27 views

phplist is showing blank page after installation

I installed phplist on goDaddy VPS Server on CentOS. I have completed installation successfully. But now it is showing blank page. I tried so much. I also installed new fresh copy but it is not ...
0
votes
0answers
21 views

Turning off send mail as nobody on WHM, existing PHP scripts with mail()

I've turned off sendmail as nobody on WHM, to try to deal with some load issues on my server. However, this means that many existing PHP scripts under other accounts that have mail() in them do not ...
2
votes
1answer
6k views

apache 2.4 + php 4.7 cannot load php5apache2_4.dll

I am trying to make Apache (httpd-2.4.3-win32) to work with PHP 5.4.7 (VC9 x86 Thread Safe) on Windows 7. Apaches default page is working and proudly says: "It works". PHP CLI is working and ...
0
votes
0answers
10 views

How to set ownership/permission of PHP site that accessible by the user AND the apache user

I'm having problems with my PHP projects within /var/www set on permission www-data:www-data. My user can't write to these directories. I've added myself to www-data group and have added chmod -R ...
0
votes
1answer
59 views

unable to open phpmyadmin Error during session start; please check your PHP …etc

I have installed xampp on ubuntu. I can access on firefox localhost/xampp. However when I go to phpmyadmin on the left it comes up with "phpMyAdmin - Error" Then underneath that it has this: "Error ...
1
vote
1answer
2k views

Why NetBeans ( php - remote project ) change permission of files to 0600?

I'm using NetBeans for editing some php files ( in a php project ) at remote server. all go normal, but when saving the edited file using NetBeans, the file's permissions are set to 0600 by default, ...
3
votes
2answers
5k views

Convert file to PDF using LibreOffice under user apache (i.e. when using PHP)

I installed libreoffice-headless and can convert documents when logged on into the shell as a normal user. [root@desktop ~]# yum install libreoffice-headless [root@desktop ~]# yum install ...
1
vote
1answer
112 views

Netbeans comment vars

How can I know about full list of comments operations for Netbeans? I saw @var @param and @return. What is the difference between /* and /** ? How can I find tutorials about Netbeans comments variable ...
2
votes
4answers
3k views

File still unwriteable in /var/www/html after the chmod command

I've got some trouble while trying to install some applications on my linux system. It is said that the files in my /var/www/html/xxx directory, where I put them, is not writeable. The command chmod ...
0
votes
0answers
15 views

ffmpeg start recording at certain time

I'm searching a ffmpeg option that let me start recording streaming source at a certain time: I start my php script with crontab, inside my php I run ffmpeg for X minutes. Ffmpeg takes some seconds to ...
0
votes
2answers
2k views

PHP mail() function not working in Mac OS X

I know this question has been asked many times and people use to give many solutions. I have followed almost all the possibilities which I come across after investigating on it. but nothing worked ...
0
votes
0answers
7 views

Phing - Alternative to fetching files using scp's fetch attribute using filesets

I have a Phing task like this: <scp host="myserver" fetch="true" todir="backup"> <fileset dir="upload" > <include name="**" /> </fileset> </scp> ...which ...
0
votes
2answers
495 views

How do I debug an Apache web server failing to load on windows?

On my dev environment I upgraded php with an msi, and my apache wouldn't load anymore. Where can I find information about the reason it failed? I have the error logs for each virtual server, but no ...
1
vote
0answers
58 views

bash- command does not work with php shell_exec

I want to execute following command on my Ubuntu server using php: android create project --target 8 --name $fname --path ./$fname --activity MainActivity --package $fpack 2>&1 The above ...
0
votes
1answer
8 views

How to make titles bold based on date in WordPress?

I am having a WordPress site with static front page and it displays featured and recent posts....I am not using any widgets to achieve this, just using a custom home page template. My requirement is ...
3
votes
3answers
4k views

How to log php error in a separate file?

I just did an upgrade of my server to Fedora 17 and merged some configuration files containing .rpmnew into the existing ones. I have been successfully logging my php errors in a separate log file by ...
1
vote
0answers
78 views

I destroyed my Mac's PHP setup: SSL certification fails

Long story short, I deleted the PHP symlink on my Mac, and replaced it with a symlink from XAMPP. Now it seems that there's a problem with my SSL configuration or what seems to me, a lack thereof. ...
1
vote
2answers
2k views

WAMP not executing PHP

My WAMP server is not executing PHP. I have already tried the following things: restarted just Apache restarted all WAMP services restarted the WAMP application restarted my whole system renamed the ...
0
votes
1answer
253 views

Errors with a phpMyAdmin install on CentOS 7

Well, I was trying to install phpMyAdmin on CentOS 7 (64bit) and this happens. Here is a Pastebin of the output from yum install phpmyadmin because can’t get code thing to work. [root@ftb ~]# yum ...
0
votes
1answer
320 views

How to install Horde Webmail on Ubuntu 14.04?

Am using Ubuntu 14.04. Am stuck with the following issue: My goal is to install and have running HORDER GROUPWARE 5.2 on my Domain/Hosting: Download on Github: https:// github ...
0
votes
2answers
127 views

How to yum update PHP to version 5.4 on Amazon Linux?

I need PHP 5.4 installed in an Amazon Linux instance. Presently we have: root@ip-10-138-1-229 webapps]$ php -version PHP 5.3.29 (cli) (built: Aug 20 2014 16:41:34) Is there a yum package for this? ...
0
votes
1answer
80 views

Remove everything related to PHP on Debian Server

I tried to compile PHP5.4 by myself with ZTS support which worked fine, but it seems that whenever I install extension with apt-get like apt-get install php5-mysql, it does not get installed into the ...
0
votes
1answer
61 views

Can MySQL handle a string 2 million characters long in BLOB

A search using the title returned 1 question on Stack Overflow, which was not related, and with the MySQL docs 65535 characters was mentioned as a max; but is that ... normal characters or would it be ...
1
vote
0answers
12 views

PHP syntax in Sublime Text very slow

My Sublime Text 3's PHP syntax highlighting causes the editor to become extremely slow. And it's proportional to the amount of code in the current file. It's only with PHP. As soon as I switch to ...