"Advanced" PHP Installing

Dec 11, 2007

i want to install PHP 5.2.5 with shared extensions on a linux Centos 4.4 well everything goes fine i installed and it work but i found out that when you use for example --wtih-mysql it bundles the mysql extension in the php it self so i find out about the shared directive and i did --with-mysql=shared,/mysql/path now php is building the mysql.so but when i include it in php.ini and restart the server i get the folowing error in httpd.conf: PHP Startup: Invalid library (maybe not a PHP library) 'mysql.so' and the extension doesn't work. I was very disapointed and building the php 10 000 times, and then i decided to use extensions bundled in the php and i remove all the shared directives from the ./configure command and build the php and miracle happend when i saw the configure command in phpinfo() it was very different from the one that i wrote in console every extension had "shared" (even the extensions that doesn't haved shared directive before i remove them) and they didn't make errors in httpd.conf and they work perfectly, but not for long after the next rebuild everything was again or bundled or drops errors in httpd.conf and not working.

So lets cut it out:

How can i make all extensions shared and enable/disable them from php.ini

View 0 Replies


ADVERTISEMENT

Advanced URL Rewriting

Jul 11, 2007

I know how to use basic URL rewriting, but I'd like to redirect URLs like this:

[url]

to this:

[url]

Is that possible to do this with Apache mod_rewrite?

View 4 Replies View Related

Advanced Spam

Feb 24, 2007

People have been abusing my web proxy servers to send SPAM emails. I use PHProxy and I have no mail ports open on my server, or any mail scripts. My network is http://privax.us

Examples of emails (I have listed some notes):

My IP: 75.126.48.148
[url]

Received: from mail.anpmall.net ([75.126.48.148]) by mail.anpmall.net with HTTP (Code-Crafters Ability Mail Server 2.55); - Hmm?

----------------------------------------

My IP: 75.126.48.148
[url]

----------------------------------------

My IP: 75.126.48.146
[url]

Received: from 216.154.195.49 ([172.18.12.134]) by vms047.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 - hmm Java?

----------------------------------------

My IP: 75.126.48.148
[url]

I found in logs access to webmail.bellsouth.net at the time of the spamming, so I have blocked use of bellsouth.net on my proxy and banned the IP's. See
[url]

----------------------------------------

These are just some of the spam reports I have, and this is really doing my head in. As mentioned my servers do not have mail ports or mail scripts on them. They use webmin (stripped features) for a control panel.

I really need to find out why my IP is always at the bottom of this. I have asked in this forum before but did not have much luck. I have also contacted security companies to help but they were not sure what is happening.

One theory is the spammers use web based email systems, and when they submit the form the IP (from a PHP POST variable) is my IP because they are running under my proxy. But I have always assumed that if you have an email form and submit it, the server hosting the forms IP gets sent, not the actual persons IP.

That is one theory, but at the end of the day I'm still clueless to how to block this. I have blocked the use of bellsouth.net on my servers but a lot of the spam is coming from anpmall.net as mentioned above.

View 1 Replies View Related

Windows 2000 Advanced Server Performance

Nov 27, 2007

I have a Windows 2000 Advanced Server where there's a performance issue with some of the .asp pages that retrieve data from Access databases, (I know Access databases aren't ideal for data). These pages will just get stuck/freeze, and then either suddenly spring back to life, or give a script timeout error 0113.

The largest Access database I've seen is 136MB (is that way too large?)

I will probably move some of the large Access databases onto a different server but before I do:

- Are there any tools you can recommend to diagnose exactly what files / databases are causing the problem. I don't think the Win 2000 performance monitor tools even work.

- Can anyone explain more about the technicalities behind this issue. I expect it has something to do with processes, threads, memory, Access drivers being loaded into memory etc etc. Can anyone tell me what they know to put me in the picture better?

View 1 Replies View Related

Nameserver Registration (advanced Options In Namecheap)

Mar 23, 2007

I'm trying to delete the IP addresses in the nameserver registration but when I follow the instructions by clearing each input box and then clicking save I get these errors:

ns1.domain.com Error: Nameserver registration failed due to error 533: Object association prohibits operation
ns2.domain.com Error: Nameserver registration failed due to error 533: Object association prohibits operation

Ive contacted namecheap but I still havent heard back from them. Anyone know whats going on? I cant seem to delete these.

View 4 Replies View Related

Advanced Securing & Hardening Of Linux Server -cPanel

Oct 29, 2009

We have discussed all the basic methods of securing and hardening the server. Lets leave all the basic and general server securing and hardening I have started this to get advance knowledge in securing and hardening of the server so that it will usefull for all the person So i request all to provide all the vaulable tips and suggestions in advance securing and hardening of linux servers I welcome all the comments related to advance securing and hardening of linux servers.

View 5 Replies View Related

Linux Advanced Networking: Forwarding / Cloning UDP Traffic

May 8, 2009

I am trying to find an application that can listen on a given UDP port, say "6271" and forward all traffic (UDP) sent to that port to another IP (not on the same subnet).

I should not call this forwarding, but instead, cloning (because forwarding usually is only on the same subnet or vlan). The packets should not be modified, (thus IP information in packet ect.)

Is this possible? I have tried some applications such as,

samplicator

View 4 Replies View Related

Plesk 12.x / Linux :: Advanced NginX Directives For Vhost (memcached)

Sep 19, 2014

You can edit the nginx directives for the desired vhost at the webserver config. However, it seems like that you can only add basic directives, but not something like that:

Code:

http {
# memcached servers
upstream memcached-servers {
server 127.0.0.1:11211;
}

[Code] ....

How can I do that?

View 4 Replies View Related

Installing GD?

Jun 23, 2008

To install the GD graphics library for PHP, is recompiling the only method? And would recompiling PHP break things?

View 12 Replies View Related

Installing RoR. Please!

Feb 27, 2008

just recently upgraded from a fully managed VPS to a Dedicated Server. Everything seemed to be going fine, until I tried installing RoR. I have RubyGems installed and all that, but whenever I try to install Rails, the following happens.

[root@server1 ~]# gem install rails --include-dependencies
Libsafe version 2.0.16
Detected an attempt to write across stack boundary.
Terminating /usr/bin/ruby-bin.
uid=0 euid=0 pid=9614
Call stack:
0x519df871 /lib/libsafe.so.2.0.16
0x519dfc5d /lib/libsafe.so.2.0.16
0x80549b8 /usr/bin/ruby-bin
0x8054a52 /usr/bin/ruby-bin
0x80556af /usr/bin/ruby-bin
0x806132f /usr/bin/ruby-bin
0x8061de6 /usr/bin/ruby-bin
0x809eb06 /usr/bin/ruby-bin
0x8055681 /usr/bin/ruby-bin
0x805de6d /usr/bin/ruby-bin
0x805ea6c /usr/bin/ruby-bin
0x805c5e6 /usr/bin/ruby-bin
0x8059c53 /usr/bin/ruby-bin
0x8064680 /usr/bin/ruby-bin
0x805de6d /usr/bin/ruby-bin
0x805ea6c /usr/bin/ruby-bin
0x805c4df /usr/bin/ruby-bin
0x805d776 /usr/bin/ruby-bin
0x805ae8a /usr/bin/ruby-bin
0x805d2ad /usr/bin/ruby-bin
0x805e66a /usr/bin/ruby-bin
0x805ea6c /usr/bin/ruby-bin
0x805c4df /usr/bin/ruby-bin
0x8062e68 /usr/bin/ruby-bin
0x805b9b2 /usr/bin/ruby-bin
0x805e66a /usr/bin/ruby-bin
0x805ea6c /usr/bin/ruby-bin
0x805c5e6 /usr/bin/ruby-bin
0x805d776 /usr/bin/ruby-bin

Overflow caused by memcpy()
Killed

View 9 Replies View Related

Installing GD Via WHM

Nov 12, 2008

Main >> Software >> Apache Update

I've read through a number of threads regarding installing GD. So sorry for yet another, but I just want to make sure that I'm doing this correctly.

As seen in the attachment below I'm presented with a few options:

Previously Saved Config (** DEFAULT **)
Basic (If your previous build has failed, please use this option)
No PHP
PHP Encryption / E-commerce
PHP Encryption and Image Manipulation
PHP Image Manipulation
PHP Security

Should I start by selecting the option "Previously Saved Config (** DEFAULT **)" and then "Start Customizing Based On Profile"?
I've walked through the steps doing the above and have a question about the last section. Viewing the Exhaustive Options List shows GD as already checked yet towards the bottom I see a checkbox with the following (second attachment below):
Quote:

Save my profile with appropriate PHP 5 options set so that it is compatible with cpphp

This option will make the following changes to your profile prior to the build:
Enables:

CurlSSL
FTP
GD
Gettext
Iconv
Imap
Mbregex
Mbstring
Mysql
Mysql of the system
PGsql
Sockets
Zlib

Should I check to save and then click "Save and Build" to get GD installed?

Some additional information: I have downloaded my default profile. (lol Let's hope I don't have to use it because I wouldn't know where to begin!)

My php.ini file shows that GD is not installed or at least not compiled (if that's the right word to use). To clarify, GD is not in the list.

I have tried yum install pgp-gd and get the following:

root@server [~]# yum install php-gd
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* base: styx.biochem.wfubmc.edu
* updates: mirror.raystedman.net
* addons: dist1.800hosting.com
* extras: mirrors.easynews.com
base 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Excluding Packages in global exclude list
Finished
Setting up Install Process
Parsing package install arguments
No package php-gd available.
Nothing to do
root@server [~]# No package php-gd available.

root@server [~]# rpm -q php-gd
package php-gd is not installed

root@server [~]# php -m
[PHP Modules]
bcmath
calendar
ctype
date
dom
eAccelerator
filter
ftp
hash
iconv
imap
json
libxml
memcache
mysql
pcre
posix
Reflection
session
SimpleXML
sockets
SPL
SQLite
standard
tokenizer
xml
xmlreader
xmlwriter
zlib
[Zend Modules]
eAccelerator

root@server [~]# yum list | grep -i gd
gd.i386 2.0.33-9.4.el5_1.1 installed
gd-devel.i386 2.0.33-9.4.el5_1.1 installed
gd-progs.i386 2.0.33-9.4.el5_1.1 installed
gdb.i386 6.5-37.el5_2.2 installed
gdbm.i386 1.8.0-26.2.1 installed
gdbm-devel.i386 1.8.0-26.2.1 installed
sysklogd.i386 1.4.1-44.el5 installed
aspell-gd.i386 50:0.50-4.2.2 base
gdk-pixbuf.i386 1:0.22.0-25.el5 base
gdk-pixbuf-devel.i386 1:0.22.0-25.el5 base
gdm.i386 1:2.16.0-46.el5.centos base
libgdiplus.i386 1.2.5-1.el5.centos extras
libgdiplus-devel.i386 1.2.5-1.el5.centos extras
root@server [~]#

View 7 Replies View Related

Installing VPN On FC6

Jan 30, 2008

to install VPN on my dedicated server with fedora core 6.

I search on the internet and I found some article.

now I have this question,
I found the rpm in WHM>Software>Install a RPM named openvpn.i386 .

Can I install this rpm from this section?

View 1 Replies View Related

Installing Php 5 Together With Php 4

Mar 30, 2007

my server running freebsd 6.2

i want to installing PHP 5 so my server can run 2 version of PHP (4 and 5)

im following the step here [url]

installing was successful

[root@s1 /usr/local/apache/logs]# /usr/local/cpanel/cgi-sys/php5 -v
PHP 5.2.1 (cgi) (built: Mar 30 2007 17:07:11)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

but when i try to running phpinfo for it, its show me an error

i grep the error from error.log and got this

[Fri Mar 30 17:42:47 2007] [error] [client 202.65.236.10] Premature end of script headers: /home/uletbulu/public_html/info.php
[Fri Mar 30 17:42:47 2007] [error] [client 202.65.236.10] File does not exist: /home/uletbulu/public_html/500.shtml
[Fri Mar 30 17:44:07 2007] [error] [client 202.65.236.10] Premature end of script headers: /usr/local/cpanel/cgi-sys/php5
[Fri Mar 30 17:44:07 2007] [error] [client 202.65.236.10] File does not exist: /home/uletbulu/public_html/500.shtml

but for php 4 there is no problem at all
or the syntax for php 5 not using phpinfo(); anymore?

[url]
[url]

View 0 Replies View Related

Installing PHP

Jan 25, 2007

I've installed PHP, MySQL and Apache on my XP.

I've uncommented some extensions in php.ini and among them:

extension=php_pdf.dll and extension=php_mysqli.dll, but when I start Apache I got the message:

PHP Startup: Unable to load dynamic library 'c:phpextphp_mysqli.dll' - The specified module could not be found

But I have that module in c:phpextphp_mysqli.dll.

View 5 Replies View Related

Installing Yum

Jun 13, 2007

Anyone have tried yum with suse 10.x ? and what its rpm download link?

View 1 Replies View Related

Installing PHP

Apr 29, 2007

Ive just installed PHP on my virtual server and am getting this error message:

PHP Warning: PHP Startup: (null): Unable to initialize module
Module compiled with module API=20041030, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: (null): Unable to initialize module
Module compiled with module API=20041030, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/dom.so' - /usr/lib/php/modules/dom.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/gd.so' - /usr/lib/php/modules/gd.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning: PHP Startup: ?Mq?gpp?: Unable to initialize module
Module compiled with module API=20041030, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mbstring.so' - /usr/lib/php/modules/mbstring.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so' - /usr/lib/php/modules/mysql.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning: PHP Startup: D1q?`?p?: Unable to initialize module
Module compiled with module API=20041030, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/xsl.so' - /usr/lib/php/modules/xsl.so: undefined symbol: dom_node_class_entry in Unknown on line 0

Does anyone have any ideas what this could be/how it could be fixed? Full phpinfo can be found here: jlwalsh.net/phpinfo.php - if theres any other info I can send let me know.

View 2 Replies View Related

Installing Gd

Oct 14, 2007

Trying to install gd library but not able to..

When i do yum install php-gd it says nothing to do..

Kindly help me.. Its a week i am trying to make it work.. Looks like i have searched the whole net..

View 14 Replies View Related

Installing Php

Apr 1, 2007

I have Kevin Yank's book, and have followed the instructions (I thought) absolutely correctly.

most of it seems to be fine, but when I open up the very first page created (the "today.php" project!).. it says "module not found"..

take out the <%php bit... and rename it as an asp file (just to be sure my /localhost settings etc were ok) and it works fine. It's clearly a php install error.. Where do I start looking?

I did search on the forum but failed to find any related thread...

View 4 Replies View Related

Ffmpeg-php - Need Help Installing Under Win

Aug 25, 2005

Hi there, I was wondering if anyone have installed ffmpeg-php under windows successfully or you might understand how to do it?

By default it's for linux, but there is a version for win made by some guy/guys to be found here: ffmpeg google groups

Problem is, I don't understand how to install? Could anyone explain, thanks!

Edit: Got it to work!

avcodec.dll (copy to WindowsSystem32)
avformat.dll (copy to WindowsSystem32)
php_ffmpeg.dll (php dir)
Add: extension=php_ffmpeg.dll <- to php.ini

All the other files confused me

View 0 Replies View Related

Installing FFMPEG On VPS

Sep 25, 2006

We have a managed VPS, and have never needed on our own dedicated servers in teh past to have FFMPEG due to the line of data we host. So, I asked our provider to please install FFMPEG onto our server.

This is the response I have received:

FFMpeg requires PHP to be compiled as CGI (PHPsuexec) that is only officially supported by cPanel. So in order to install FFMpeg modules we have to resetup your VPS with cPanel.

Now our VPS is running Direct Admin on CentOS.

I am not trying to poke holes at our provider, just trying to find out if this is the truth, or if there is a work around that can accomplish this.

I do not want CPANEL on our account. We have two unix techs here at work, however unfortunately they are both off for two weeks as of middle of last week, so i'm caught with who to look for to gain a second opinion.

View 1 Replies View Related

Installing Mod_rewrite?

Sep 8, 2005

I have installed a Apache server version 1.3.33 on windows XP and would like to enable mod_rewrite so i can rewrite my ugly url´s. How do I install this great feature in Apache so i can test it locally?

Do i just remove # from

#LoadModule rewrite_module modules/mod_rewrite.so
#AddModule mod_rewrite.c

View 2 Replies View Related

Installing Circumventor

Jan 5, 2008

Are there any circumventors you can install on your website to bypass censorship on public computers?

View 0 Replies View Related

Installing Imagemagick

Mar 29, 2005

How does one install imagemagick?

I have read instructions on imagemagicks site, but don't see how I can upload files, and how to execute the commands that instuctions say to do.

View 2 Replies View Related

Installing GPAC

May 4, 2009

I have tried installing GPAC on my centos which has ffmpeg installed allready

l
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[1]: *** [libgpac.so] Error 1
make[1]: Leaving directory `/usr/src/gpac/src'
make: *** [lib] Error 2
-bash-3.2# cat /etc/redhat-release
CentOS release 5.2 (Final)
-bash-3.2#

View 2 Replies View Related

Installing Hacked VPS

Jun 24, 2009

I had to reload my VPS cause I got hit with the LX admin exploit (Shocked cause the copy was over a year old)

But I'm not really server savvy, could someone possibly teach me the following.

How to install
apache
ftp
mysql
php

and how to secure the vps so it doesn't get hacked? Also is there any other free control panel to use? I'm really bad in shell, I can do basic stuff and if it's written in plain site I can easily do it. I've seen people here post these two,

ispCP
sysCP

Both look pretty nice, which one would be better do you think?
So if anyone could help me out with this that would be very nice and awesome of you. If I posted in the wrong thread mods please move it.

(I read the secure the VPS thread here already but my IP changes alot, the last 2 sets of numbers change daily)

View 14 Replies View Related

Installing LXAdmin On My VPS

May 20, 2009

I am new with VPS, i was trying to install LXA on my new VPS after rebuilding it

This is what i typed in SSH

wget [url]

sh kloxo-install-master.sh

It worked out fine initially. It went on installing, updating, downloading and so on..
But finally got stuck at this point

11:02:43 (379 KB/s) - `lxawstats4400.tar.gz' saved [1143518/1143518]

Downloading Installappdata

error reading information on service gpm: No such file or directory

rm -rf /var/lib/mysql

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved