Hola con PHP no puedes hacerlo directamente, necesitas usar una funcion en javascript
algo parecido a esto
Código:
<script>
function habilita(){
if(document.form1.check.checked) {
document.form1.rfc.disabled=false;
}
else {
document.form1.rfc.disabled=true;
}
}
</script>
<form name="form1" method="post" action="">
<p><font face="Verdana, Arial, Helvetica, sans-serif">
<input name="check" type="checkbox" value="1" onclick="javascript:habilita();">
Si </font></p>
<input name='rfc' type='text' size='28' maxlength='100' disabled>
<p> </p>
</form>